Re: 2 WinCvs suggestions - adding and deleting directory structures
"Ryan" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], Gerhard Fiedler <gelists@...> wrote: > > On 2007-01-31 18:10:34, Ryan Robinson wrote: > > > 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. > > Have you tried the macros under Macros | Add? > > Alternatively, you may want to check out TortoiseCVS. Looks like the extended add selection does what I was looking for. > > 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. > > This is strange. I've never had cvsnt delete a folder that contained > non-cvsnt files (and the .# backup files are non-cvsnt files). Can you boil > this down to a command line sequence? If so, you probably should submit it > to the cvsnt support group. > > Gerhard Yes, it is strange. I just tried to reproduce this on my computer again and couldn't get it to happen this time. I guess I'll just chalk it up to having a non-programmer working with on older version of CVSNT. *shrug* Thanks Gerhard, 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/