info-cvs
[Top][All Lists]
Advanced

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

Re: CVS diff and unknown files.


From: Paul Sander
Subject: Re: CVS diff and unknown files.
Date: Mon, 24 Jan 2005 10:51:43 -0800


On Jan 24, 2005, at 6:20 AM, address@hidden wrote:

Todd Denniston <address@hidden> writes:
[...]
$ echo dummy > dummy.txt
$ cvs add -m" " dummy.txt
cvs [server aborted]: "add" requires write access to the repository

Until the Fix that Greg described late last year is put in, you can (I
think) trick cvs at least for files.

***begin cvs_trick_add
#! /bin/bash
echo " /$1/0/dummy timestamp//" >> CVS/Entries
echo " cvs trick added $1 to the Entries file."
***end cvs_trick_add

cvs_trick_add dummy.txt

Thanks a lot for the trick, Todd! Though I usually try to avoid
temptation to edit CVS/ files manually, it seems that in this case it's
indeed easier than replicating of the whole project into another directory
and using regular 'diff' to compare them.

Glad to hear things are going to be changed in the (hopefully near)
future.

It's unclear if that particular change will be made, or if made whether or not it will stay. The requirement to supply add-time triggers has been identified (by a number of users), which requires a contact with the server. This has undergone some heated debate.

--
Paul Sander | "Lets stick to the new mistakes and get rid of the old
address@hidden | ones" -- William Brown





reply via email to

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