[cvsnt] Re: BUG: Changed behaviour of unedit

Gerhard Fiedler lists at connectionbrazil.com
Sat Jan 7 02:34:49 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Bo Berglund wrote:

>>>>1) Create a new file
>>>>2) cvs add file
>>>>3) cvs unedit file

> I don't use the edit-commit or edit-unedit cycle myself, but from what
> I have read the unedit is supposed to revert any edits that have been
> done to a file by returning the cached file copy in the CVS folder.
> But for a newly added file thta was not edited in the first place that
> is kind of hard, I guess...

Probably is :)  But then, there's that rule "don't do anything if you can't
do something that makes sense" :))

In this case (nothing to unedit) it would be sensible for the unedit
command to do nothing or fail -- IMO of course.

Gerhard



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook