[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repository know who has checkouts?
From: |
Richard J. Duncan |
Subject: |
Re: Repository know who has checkouts? |
Date: |
Wed, 4 Oct 2000 15:19:52 -0500 (CDT) |
> Does the CVS repository keep any kind of track of who has checked out? If
> it does where does it store this information?
It depends, did you set a watch?
Read pages 27 in the Cederqvist CVS manual, then section 6.6. We add a
watch to the entire source tree. Then when people checkout code they
must run "cvs edit" to get a writable version of the file before
making modifications"
The cvs editors command then call tell you who has typed "edit" on a
given file. The information is tracked in the repository CVS/fileattr
file.
If I have this file:
$LOCAL_ROOT/class/shell/Sdb/sdb_02.cc
Then the actual editors data will be tracked in
cat $CVSROOT/class/shell/Sdb/CVS/fileattr | grep sdb_02.cc
and it will look something like this:
Fsdb_02.cc _watched=;_editors=peng>Tue Oct 3 20:50:08 2000
GMT+isip207.isip.msstate.edu+/isip/d207/peng/tools/class/shell/Sdb;_watchers=peng>tedit+tunedit+tcommit
Generally speaking just use the "cvs edit", "cvs unedit", and "cvs
editors" command rather than looking at the files directly, though.
+-------------------------------------------<address@hidden>-+
| Richard Jennings Duncan http://www.isip.msstate.edu |
| Graduate Research Assistant Institute for Signal and Info. Proc. |
| Mississippi State University Computer Science |
+---------------------------------------------------------------------+
Re: Repository know who has checkouts?, Derek R. Price, 2000/10/04
Re: Repository know who has checkouts?, Larry Jones, 2000/10/04