Re: 2 WinCvs suggestions - adding and deleting directory structures

Gerhard Fiedler <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.user
Organization cvsnt.org news server
Message-ID <[email protected]>
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.

> 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



 
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.