[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[1.11.5]: cvs edit & cvs editors bugs?
From: |
Marshall, Simon |
Subject: |
[1.11.5]: cvs edit & cvs editors bugs? |
Date: |
Fri, 2 May 2003 16:42:58 +0100 |
Here are 2 odd problems; I'm not sure what to make of them. Could I
have screwed up somehow? Are they bugs?
We have a CVS repository module "carma" previously created from an RCS
repository. Let's say it contains a trunk plus branches B1 & B2. I've
done a "cvs watch on carma".
Problem 1:
==========
User A does "cvs edit Makefile" in A's top-level working directory
~A/carma/B1 of a branch B1.
cvs editors reports:
Makefile A [date] [host] /users/A/carma/B1
This is OK. The fileattr entry says:
FMakefile
_watched=;_editors=A>[date]+[host]+/users/A/carma/B1;_watchers=A>tedit+t
unedit+tcommit
This seems fine.
User A does "cvs edit Makefile" in A's top-level working directory
~A/carma/B2 of a branch B2.
cvs editors reports:
Makefile A [date] [host] /users/A/carma/B2
What happened to the other edit? Now the fileattr entry says:
FMakefile
_watched=;_editors=A>[date]+[host]+/users/A/carma/B2;_watchers=A>tedit+t
unedit+tcommit
Surely this is wrong? What happened to the entry for branch B1? Is it
a CVS bug? Note that if A does "cvs unedit Makefile" in A's top-level
working directory ~A/carma/B2, cvs editors report that there is no edit
for Makefile. Not surprisingly, as the fileattr says:
FMakefile _watched=
So it appears that "cvs edit" erroneously removed entries from fileattr
when branches are used. Maybe fileattr needs to be taught about
branches?
Problem 2:
==========
User A does "cvs edit Makefile" in A's top-level working directory
~A/carma/trunk.
cvs editors reports:
Makefile A [date] [host] /users/A/carma/trunk
This is OK. The fileattr entry says:
FMakefile
_watched=;_editors=A>[date]+[host]+/users/A/carma/trunk;_watchers=A>tedi
t+tunedit+tcommit
This seems fine.
User B does "cvs edit Makefile" in B's top-level working directory
~B/carma/trunk.
cvs editors reports:
Makefile A [date] [host] /users/A/carma/trunk
Surely this is wrong? Why doesn't it list user B's edit? Is it a CVS
bug? The fileattr entry says:
FMakefile
_watched=;_editors=A>[date]+[host]+/users/A/carma/trunk,B>[date]+[host]+
/users/B/carma/trunk;_watchers=A>tedit+tunedit+tcommit,B>tedit+tunedit+t
commit
This seems fine; it contains info for the edit of both users. Note that
if user A does "cvs unedit Makefile" in A's top-level working directory
~A/carma/trunk, cvs editors reports:
Makefile B [date] [host] /users/B/carma/trunk
So it appears that "cvs editors" does not process the fileattr entries
correctly.
Please let me know if you need any more information for these problems.
Thanks, Simon.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [1.11.5]: cvs edit & cvs editors bugs?,
Marshall, Simon <=