Hi all

I like to draw your attention towards a nasty limitation to CVS locks,
which 
I at least did not know until now.

 $ cvs checkout my_proj
 ... lots of check out lines...
 $ cd my_proj
 $ cvs editors             # No files will be shown since no files are
locked
 $ cvs edit README.txt
 $ cvs editors .
 README.txt    pto        Wed May  7 06:43:15 2008 -0000 myworkstation     
 /opt/cvsroot/my_proj
 $ cd ..
 $ mv my_proj my_proj_work
 $ cvs checkout -r HEAD my_proj
 $ ls -1d
 my_proj              
 my_proj_work
 $ cd my_proj_work
 $ cvs editors .

Bummer - the lock on my_proj/README.txt is gone.... :-((
Pure magic - but very annoying magic....

How come? Can I make some different operation, where I don't loose the file
lock.

Note; If I replace the second "cvs checkout" with "cvs export" I have the
same problem.


Best

Peter Toft, Ph.D. [EMAIL PROTECTED] http://petertoft.dk   



_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to