Hi,
We've encountered a problem with GNU CVS 1.12.9. Please see the following log.
First, we check out a simple module "test" (cvs watch on was called before):
[EMAIL PROTECTED]:~/test$ la total 8 drwxr-xr-x 2 tom tom 4096 Feb 27 13:34 . drwxr-xr-x 34 tom tom 4096 Feb 27 13:30 .. [EMAIL PROTECTED]:~/test$ cvs checkout test cvs checkout: Updating test U test/file.txt [EMAIL PROTECTED]:~/test$ la total 12 drwxr-xr-x 3 tom tom 4096 Feb 27 13:34 . drwxr-xr-x 34 tom tom 4096 Feb 27 13:30 .. drwxr-xr-x 3 tom tom 4096 Feb 27 13:34 test [EMAIL PROTECTED]:~/test$ cd test [EMAIL PROTECTED]:~/test/test$ la total 12 drwxr-xr-x 3 tom tom 4096 Feb 27 13:34 . drwxr-xr-x 3 tom tom 4096 Feb 27 13:34 .. drwxr-xr-x 2 tom tom 4096 Feb 27 13:34 CVS -r--r--r-- 1 tom tom 0 Feb 27 13:25 file.txt
At this point no editors are defined:
[EMAIL PROTECTED]:~/test/test$ cvs editors
Now we start editing file.txt:
[EMAIL PROTECTED]:~/test/test$ cvs edit file.txt [EMAIL PROTECTED]:~/test/test$ cvs editors file.txt tom Sun Feb 27 12:34:57 2005 GMT linux /home/tom/test/test
The user edits the file and invokes a file compare in SmartCVS. SmartCVS fetched the original file content by using the update command, simulating a non-existent local file. We simulate SmartCVS' behaviour by renaming file.txt to file.txt.original:
[EMAIL PROTECTED]:~/test/test$ mv file.txt file.txt.original [EMAIL PROTECTED]:~/test/test$ la total 12 drwxr-xr-x 3 tom tom 4096 Feb 27 13:35 . drwxr-xr-x 3 tom tom 4096 Feb 27 13:34 .. drwxr-xr-x 3 tom tom 4096 Feb 27 13:34 CVS -rw-r--r-- 1 tom tom 0 Feb 27 13:25 file.txt.original [EMAIL PROTECTED]:~/test/test$ cvs update file.txt cvs update: warning: `file.txt' was lost U file.txt
Unfortunately GNU CVS 1.12.9 seems to think, the file is lost and destroys the editors information:
[EMAIL PROTECTED]:~/test/test$ la total 12 drwxr-xr-x 3 tom tom 4096 Feb 27 13:35 . drwxr-xr-x 3 tom tom 4096 Feb 27 13:34 .. drwxr-xr-x 3 tom tom 4096 Feb 27 13:35 CVS -r--r--r-- 1 tom tom 0 Feb 27 13:35 file.txt -rw-r--r-- 1 tom tom 0 Feb 27 13:25 file.txt.original [EMAIL PROTECTED]:~/test/test$ cvs editors
CVSNT 2.0.58d behaves correctly, it keeps the editors information.
What request SmartCVS should send, so GNU CVS 1.12.9 just sends the original content of the file without destroying the editors information? Thanks in advance.
-- Best regards, Thomas Singer _____________ smartcvs.com
_______________________________________________ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs