delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/09/14/15:35:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3F64BC65.10B8324@phekda.freeserve.co.uk>
Date: Sun, 14 Sep 2003 20:07:17 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: listfile2diff.sh
References: <200309131259 DOT h8DCxssK017540 AT speedy DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

ams AT ludd DOT luth DOT se wrote:
> 
> According to Richard Dawe:
> >     listfile2diff.sh foo-files.txt -pu3
> >
> > It copes with files that haven't been added to CVS yet.
> 
> What I do is "cvs add" and then "cvs diff". Works fine as long as you
> rememeber to cvs add the file first.

That doesn't work very well if you're adding a new directory, because it will
create the directory in CVS immediately. You may not want that, if the
directory name is likely to change. Similarly, if you 'cvs add' a file and
then rename it later, you have to remember to 'cvs remove' the old name and
'cvs add' the new name. All the things are error-prone.

Maybe cvsutils or cvs-utils help with these things. I've never got round to
using either of those, though.

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019