Bob Proulx wrote:
> If the old cvs access is not going to be updated then let's disable it
> so that those attempting to pull the previous cvs path will get an
> error instead of old data.  Disabling it so that an error is reported
> would be good and would have saved me a small amount of debugging.

I agree that just leaving the CVS as is, without modifications, will lead
some people into thinking their checkout is still fine. However, blocking it
entirely will prevent people from doing "cvs diff" of their modified trees,
or "cvs checkout -D2006xxxx" for bisecting purposes, and similar.

> In case someone wants to keep using a cvs working copy and simply
> wants to convert to the new cvs access location the following should
> convert the cvs working copy in place from the old cvs depot to the
> new cvs-access-to-git depot.
> 
>   find . -name Root -exec sed --in-place 's|[EMAIL 
> PROTECTED]:/cvsroot/gnulib|[EMAIL PROTECTED]:/gnulib.git|' {} +
> 
>   find . -name Repository -exec sed --in-place 
> 's|gnulib|/srv/git/gnulib.git/HEAD|' {} +

Thanks for the tip. I modified the first command to work also with
non-anonymous commands and added this to the README:


2007-09-29  Bruno Haible  <[EMAIL PROTECTED]>

        * README: Add CVS checkout update instructions.
        Info from Bob Proulx <[EMAIL PROTECTED]>.

*** README.orig 2007-09-30 00:50:17.000000000 +0200
--- README      2007-09-30 00:44:58.000000000 +0200
***************
*** 243,248 ****
--- 243,253 ----
  connection, CVS checkouts are also supported:
    $ cvs -d :pserver:[EMAIL PROTECTED]:/gnulib.git co -d gnulib HEAD
  
+ CVS checkouts from before 2007-09-19 can be converted to the new read-only CVS
+ location through commands like these:
+   $ find . -name Root       -exec sed --in-place 's|.*|:pserver:[EMAIL 
PROTECTED]:/gnulib.git|' {} ';'
+   $ find . -name Repository -exec sed --in-place 
's|^gnulib|/srv/git/gnulib.git/HEAD|' {} ';'
+ 
  Gnulib is hosted on savannah.gnu.org.  The project page is
  http://savannah.gnu.org/projects/gnulib.
  



Reply via email to