[cvsnt] Re: poblem whith unedit when use commit -e

Tony Hoyle tony.hoyle at march-hare.com
Wed Dec 21 22:17:12 GMT 2005


Vladimir wrote:
> Hello all.
> We have a poblem whith unedit when use commit -e .

The purpose of unedit is to restore the file to its state on the 
previous edit.  This is what it is doing.  There are two ways to 
terminate an edit - either commit the file, or do an unedit.  Unedit is 
a full rollback to the previous edit *whatever* has happened in the 
meantime (barring update -c, but that's not something that normally gets 
used as it breaks the paradigm somewhat).

If you want to finish an edit normally use a standard commit.  If you 
then want to re-edit then do so.. commit -e is something I'm not that 
keen on using - valid use cases for it are rare (it only has any purpose 
at all on a -kx file).

Tony



More information about the cvsnt mailing list