bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A second cvs checkout (or export) clears file locks :-(


From: Peter Toft
Subject: A second cvs checkout (or export) clears file locks :-(
Date: Wed, 07 May 2008 09:21:56 +0200
User-agent: RoundCube Webmail/0.1

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. address@hidden http://petertoft.dk   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]