2 WinCvs suggestions - adding and deleting directory structures
"Ryan Robinson" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, we recently needed to move a directory structure with several
sub-directories (and hundreds of files) to a different location in a project
to satisfy some new Makefile rules. I did the following:
1. Copied the directory to the new location
2. Removed existing "CVS" directories
3. Checked in all directories and files in the new location
4. Removed the old directory from CVS and committed.
My first suggestion is, with step 3, I pretty much had to add directories
one at a time, then go into each directory and add files. Looking at a list
of state "Unknown" files in Flat Mode, the "Add" menu option always gets
grayed out, unless ALL selected files are in the same directory. "Add" also
gets grayed out if you select more than 1 "Unknown" directory. It would be
nice if you could add several directories at once, and then select a bunch
of files in there with Flat Mode and add them. Either that, or just have
something that works like the Import Module interface for adding new
directory trees under an existing repository.
The other (and more serious) problem that we had was that someone,
unbeknownst to me, had modified several files under the old directory
location, and had not committed any changes after a couple days of work.
When he updated, his entire (modified) directory structure got deleted and
was NOT put in the recycle bin.
I know if you modify a file and someone else removes it, you simply get a
message like "X is modified but no longer in the repository." If you then
get the clean copy, you still a ".#" file along with the original file, and
the message "X is not (any longer) pertinent." That's all well and good,
but if those files exist under another directory which was removed from the
CVS repository, it seems that everything just gets wiped out without getting
put in the recycle bin.
Obviously in the future, we'll try to make sure everyone commits
modifications before we remove directories. It would be nice, though, if
WinCvs would simply delete everything through the Recycle bin, especially
when removal results from a simple update (even if prune empty directories
is checked). Any other suggestions you guys have would be appreciated.
Thanks,
Ryan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cvsgui/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/cvsgui/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/