From: Petr Baudis Date: Wed, 19 Jul 2006 12:38:09 GMT Subject: Re: Tracking CVS Message-ID: <20060719123808.GH13776@pasky.or.cz> In-Reply-To: <9e4733910606220717of2ba299ta8a38c7d63fd5635@mail.gmail.com> Dear diary, on Thu, Jun 22, 2006 at 04:17:15PM CEST, I got a letter where Jon Smirl said that... > On 6/22/06, Petr Baudis wrote: > >Dear diary, on Thu, Jun 22, 2006 at 02:41:16PM CEST, I got a letter > >where Jon Smirl said that... > >> I'm tracking cvs using this sequence. > >> > >> cvs update > >> cg rm -a > >> cg commit > >> cg add -r . > >> cg commit > >> > >> Is there a way to avoid the two commits? If you do the add with out > >> the intervening commit it just adds the files back. > > How about a cg-sync? Tracking cvs (or other SCM) with git is probably > a common activitiy while you try to convince the other CVS users to > switch. It is probably worth a little write up in the readme on the > best way to do it. I have added and pushed out support for cg-add -a, now it should be merely a matter of cg-rm -a && cg-add -a and I have documented that. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Snow falling on Perl. White noise covering line noise. Hides all the bugs too. -- J. Putnam