Update after move from cvs to git.
authorBruno Haible <bruno@clisp.org>
Sun, 21 Oct 2007 12:20:08 +0000 (14:20 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Oct 2007 12:20:08 +0000 (14:20 +0200)
ChangeLog
gnulib-tool

index 8060c7b8645bfd34ebb412d92c0ab3180d553def..7d694d206bf150313db28eab334e255433330c7b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-21  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_megatestdir): Determine the cvsdate from
+       Git's management files if the CVS files are not present.
+
 2007-10-20  Bruno Haible  <bruno@clisp.org>
 
        * lib/count-one-bits.h (COUNT_ONE_BITS): Use the builtin also for
index 09059fcedc721281abe377e306e5f3a046b7b1fd..c091a3ea4e380d706700afe7e2215363ae23d32b 100755 (executable)
@@ -3538,7 +3538,12 @@ func_create_megatestdir ()
   func_append megasubdirs "ALL"
 
   # Create autobuild.
-  cvsdate=`sh "$gnulib_dir/build-aux/mdate-sh" "$gnulib_dir/CVS/Entries" \
+  cvsdate=`if test -f "$gnulib_dir/CVS/Entries"; then \
+             vc_witness="$gnulib_dir/CVS/Entries"; \
+           else \
+             vc_witness="$gnulib_dir/.git/refs/heads/master"; \
+           fi; \
+           sh "$gnulib_dir/build-aux/mdate-sh" "$vc_witness" \
              | sed -e 's,January,01,'   -e 's,Jan,01,' \
                    -e 's,February,02,'  -e 's,Feb,02,' \
                    -e 's,March,03,'     -e 's,Mar,03,' \