[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. [pto@linuxbog.dk] http://petertoft.dk
- A second cvs checkout (or export) clears file locks :-(,
Peter Toft <=
- Re: A second cvs checkout (or export) clears file locks :-(, Peter Toft, 2008/05/07
- Re: A second cvs checkout (or export) clears file locks :-(, Peter Toft, 2008/05/08
- Re: A second cvs checkout (or export) clears file locks :-(, Todd Denniston, 2008/05/08
- Re: A second cvs checkout (or export) clears file locks :-(, Peter Toft, 2008/05/26
- Re: A second cvs checkout (or export) clears file locks :-(, Denniston, Todd A CIV NAVSURFWARCENDIV Crane, Code JSXN, 2008/05/27
- Re: A second cvs checkout (or export) clears file locks :-(, Larry Jones, 2008/05/27