[cvsnt] CVS commit with -e option then unedit command gets previous version file

Tony Hoyle tony.hoyle at march-hare.com
Sat Aug 11 07:59:58 BST 2007


Vedprakash Patel wrote:
> 
> 
> Hi All,
> 
> I am trying use -e option of commit command i.e. keeping file checkout and
> checking in the code. Next version is generated say 1.7 for a file but if I
> execute unedit command it gets previous version 1.6 file.
> 
> Here are the steps I followed:
> 1. Ckeckout a file class1.cs with version 1.3 (latest version)
> 2. Make some changes to file and commit with -e option
> 	Cvs commit -e class1.cs
>    New version is generated for the file i.e. 1.4
> 3. new unedit the file without making any changed to the file.
> 	Cvs unedit class1.cs
> 	Cvs asks to revert the changes and selected yes.
> 4. This will get previous version i.e. 1.3 in my local machine. But I
> expecting the version 1.4
> 
unedit does that.. it reverts to the file that was edited (which is just 
a local copy made during the edit command).

Tony


More information about the cvsnt mailing list