diff --git a/ChangeLog b/ChangeLog index 1bdee3cf..472d50ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2007-11-13 James Youngman + + * NEWS, configure.ac: Prepare for the release of findutils-4.3.10. + + * import-gnulib.sh (usage): If the existing CVS working tree for + gnulib in the source tree does not yet point at the + git-cvs-pserver repository, move the old gnulib working tree out + of the way and do a fresh checkout. This fixes Savannah bug + #21568. + 2007-11-11 James Youngman diff --git a/NEWS b/NEWS index 03f08682..da6921e0 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,12 @@ GNU findutils NEWS - User visible changes. -*- outline -*- (allout) +* Major changes in release 4.3.10, 2007-11-13 + +** Bug Fixes + +#21568: findutils gnulib code does not match the date in +import-gnulib.config. We now check out the gnulib code via +git-cvs-pserver. + * Major changes in release 4.3.9, 2007-11-11 ** Licensing diff --git a/configure.ac b/configure.ac index 241c99c4..a21d997e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([GNU findutils], 4.3.9, [bug-findutils@gnu.org]) +AC_INIT([GNU findutils], 4.3.10, [bug-findutils@gnu.org]) AC_CONFIG_AUX_DIR(build-aux) AM_INIT_AUTOMAKE diff --git a/import-gnulib.sh b/import-gnulib.sh index 2dbb9fc7..9d9f9656 100755 --- a/import-gnulib.sh +++ b/import-gnulib.sh @@ -95,17 +95,36 @@ do_checkout () { # defaults refer to our own CVS repository for our code, not # to gnulib. cd $cvsdir + + # gnulib now uses git as master repository, but used to use + # CVS. Check that we are not running against an old working + # directory which is still pointing at the old CVS repository. + rootfile=gnulib/CVS/Root + cvs_git_root=":pserver:anonymous@pserver.git.sv.gnu.org:/gnulib.git" + + if test -d gnulib/CVS + then + if test x"$(cat $rootfile)" == x"$cvs_git_root"; then + echo "Using the git repository via git-cvs-pserver..." + else + echo "WARNING: Migrating from old CVS repository" >&2 + # Force use of "cvs checkout" as opposed to update. + mv gnulib gnulib.before-git-migration + fi + fi + if test -d gnulib/CVS ; then - cd gnulib - cmd=update - root="" # use previous + cd gnulib + cmd=update + root="" # use previous + args= else - root="-d :pserver:anonymous@cvs.sv.gnu.org:/sources/gnulib" - cmd=checkout - args=gnulib + cmd=checkout + root="-d $cvs_git_root" + args="-d gnulib HEAD" fi set -x - cvs -q -z3 $root $cmd $cvs_sticky_option "$gnulib_version" $args + cvs -q $root $cmd $cvs_sticky_option "$gnulib_version" $args set +x ) }