bug-cvs
[Top][All Lists]
Advanced

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

cvs edit problem on multiple sandboxes for one user


From: Peter Toft
Subject: cvs edit problem on multiple sandboxes for one user
Date: Wed, 25 Mar 2009 22:57:19 +0100 (CET)

Assume that sandbox 1 and sandbox 2 are two different directories e.g. for development and the other for testing.

User A in sandbox 1:
--------------------
$ cvs edit foo.txt
$ cvs editors foo.txt
foo.txt A       Wed Mar 25 21:48:32 2009 -0000  serenity.petertoft.dk 
/home/A/foocvs1

User B
--------------------
$ cvs update -A foo.txt
$ cvs update -r 1.1 foo.txt
$ cvs update -A foo.txt
$ cvs editors foo.txt
<as many updates as you want - no problems>
foo.txt A       Wed Mar 25 21:48:32 2009 -0000  serenity.petertoft.dk 
/home/A/foocvs1

User A in sandbox 2:
--------------------
$ cvs update -r 1.1 foo.txt
$ cvs update -A foo.txt
$ cvs editors foo.txt
## NO LOCK on foo.txt - BUMMER - the lock should have been kept ##


--
Peter Toft, Ph.D. address@hidden http://petertoft.dk
I blog at http://www.version2.dk/blogs/petertoft





reply via email to

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