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 firstname.lastname@example.org.
Hi all, Thanks Arthur for reply.. i did as per the instruction u have given D:\>workspace>cvs -d :pserver:user at host:/Moveo co Project next D:\>workspace>cd Project D:\>workspace>Project>A.txt a notepad opened .. and i edit few lies. Then D:\>workspace>Project>cvs commit -m "these many changes i did" A.txt Checking in A.txt; /Moveo/Project/A.txt,v <-- A.txt new revision: 1.9; previous revision: 1.8 done *but i could not able to get mode kx can i get detail steps to lock the file. I am using Windows and CVSNT 2.5.03 * Thanks Sachin On Dec 28, 2007 1:17 AM, Arthur Barrett <arthur.barrett at march-hare.com> wrote: > Sachin, > > > i want to lock a particular revision say 1.3 of A.txt. i used > > this command > > cvs admin -l1.3 A.txt > > Do not use this command - it is deprecated. Instead set the file for > exclusive edits when you import it to CVSNT. > > > it creates error > > cvs admin: in directory .: > > cvs [admin aborted]: CVS directory without administration > > files present. > > Cannot continue until this directory is deleted or renamed. > > Check out the file first, ie: > > cvs -d :pserver:user at host:/repo co module > cd module > cvs edit A.txt > . > . > . > cvs commit -m "here are my changes" A.txt > > > If the file A.txt is set for exclusive edits (mode kx) then the 'cvs > edit' command 'locks' it. > > > Finally - you can only 'change' the most recent revision of a file. Ie: > if a file has the revisions 1.1, 1.2 and 1.3 you cannot checkout version > 1.2 and make a change and commit that as 1.4. There are various ways to > achieve this result but they are more complex that what I am going to > explain here, and since I suspect that revision 1.3 in your expample is > the 'top' revision you don't need to know this yet. > > Regards, > > > Arthur > >