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

Gerhard Fiedler lists at connectionbrazil.com
Sat Aug 11 13:20:00 BST 2007


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.


Tony Hoyle wrote:

> 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).

Would a repeat edit (could be run after step 2 above) update the local
copy?

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