how to handling read only cvs trees

Brooks Davis brooks at one-eyed-alien.net
Thu Sep 8 09:53:41 PDT 2005


On Thu, Sep 08, 2005 at 04:56:54PM +0200, Jeremie Le Hen wrote:
> Hi Brooks,
> 
> > Either pack the files up in a shar or tarball or use diff -N against
> > /dev/null to create that part of the diff by hand.  FWIW, CVS wouldn't
> > do it for you even if you could add the files.
> 
> It would.  This has been a problem for me either and I finally switched
> to have my own CVS repository belonging to my user.  This is a great
> waste of disk space, but this is how CVS works.  I think however this
> could be corrected without much pain because as far as I can remember,
> an ``add'' command will just add a line to CVS/Entries without
> even touching the repository, until the change is commited.

You are correct.  CVS's unhelpful message by default:

cvs diff: foo is a new entry, no comparison available

mislead me to believe that -N wasn't supported.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050908/349ae546/attachment.bin


More information about the freebsd-hackers mailing list