info-cvs
[Top][All Lists]
Advanced

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

Re: different behaviour of 'cvs ci'


From: Ted Stern
Subject: Re: different behaviour of 'cvs ci'
Date: Wed, 25 Jun 2008 10:48:45 -0700
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

On 25 Jun 2008 07:05:05 -0700, Spiro Trikaliotis wrote:
>
> Hello Jody,
>
> * On Wed, Jun 25, 2008 at 03:00:47AM -0700 jody.xha wrote:
>
>> After a crash i had to reinstall fedora 8 and now cvs behaves differently.
>> Previously, when i did a 'cvs ci' after changing files in several
>> subdirectories,
>> the editor opened with all changed files in it.
>> Now (cvs 1.11.22) it opens the editor for every subdirectory.
>
> This is not a change of cvs; you changed your CVSROOT description.
>
> If you use a local directory (i.e., /usr/share/cvs/ or c:\cvsrepo) for
> your CVSROOT (or with the "-d" option), then CVS asks for your
> description for every single directory.
>
> If you prepend a :local: (i.e., :local:/usr/share/cvs or
> :local:c:\cvsrepo), CVS asks for the commit message only once.
>
> So, you most probably want to add the :local: before your cvsroot.

Which brings up the question: how do you change the CVS/Root file for
every subdirectory in a sandbox checkout, possibly a huge hierarchy?

Here's one way:


     find . -type f -print | grep '/CVS/Root$' | \
       xargs perl -wpi -e 's|^/|:local:/|o'

HTH,

Ted
     
>
>
> HTH,
> Spiro.
>
>   "Anybody who would spend considerable effort emulating a C64 is not
>   particularly sane to begin with; it is unreasonable to expect them to 
> produce
>   sane software."
>   ("asuffield" in http://forums.thedailywtf.com/forums/p/7199/134136.aspx)

-- 
 Frango ut patefaciam -- I break so that I may reveal




reply via email to

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