bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: announce: cvs pserver (read-only) access to the git mirror


From: Bruno Haible
Subject: Re: announce: cvs pserver (read-only) access to the git mirror
Date: Sun, 30 Sep 2007 01:00:02 +0200
User-agent: KMail/1.5.4

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|address@hidden:/cvsroot/gnulib|address@hidden:/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  <address@hidden>

        * README: Add CVS checkout update instructions.
        Info from Bob Proulx <address@hidden>.

*** 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:address@hidden:/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:address@hidden:/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

[Prev in Thread] Current Thread [Next in Thread]