RE: How to add files recursively to an already existing directory structure?

"Hans Merkl" <[email protected]> Wed, 18 Feb 2004 16:55:35 -0500
Newsgroups gmane.comp.version-control.sourcegear-vault.user
Message-ID <HANSLAPTOPDnzniZZNT00000003@hanslaptop>
Yeah, not everything with SourceSafe is bad. Only almost :-)

It would definitely be a nice feature. If I remember right, StarTeam will
show you the missing files in the status window and you can add them from
there. That should not be too hard to implement since you already have
recursive search and are able to detect changed files.

This feature would also come in handy for people who don't use the Visual
Studio integration (some people don't trust it or are using different tools
anyway). And while we are at it, it would be nice if certain file extensions
would be ignored during add. I can't see an option in Vault that lets me
specify that. Don't want to have all the obj and pdb files in the source
control system....


Hans

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Eric Sink
Sent: Wednesday, February 18, 2004 4:34 PM
To: [email protected]
Subject: RE: [vault-list] How to add files recursively to an already
existing directory structure?

 
> In SourceSafe, I'll just add the root folder again 
> and it will create the
> folders that are not in SourceSafe and it will 
> add images that are not in
> the repository already. 

Really?  And I thought I knew basically everything
about SourceSafe.  :-)

No, Vault does not handle this case, sorry.  If
SourceSafe handles it, then we should.  I'll 
log it our database for the future.

In the meantime, I apologize for the tedium.  :-)

--
Eric Sink
Software Craftsman
http://software.ericsink.com/
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Hans Merkl
Sent: Wednesday, February 18, 2004 3:28 PM
To: [email protected]
Subject: RE: [vault-list] How to add files recursively to an already
existing directory structure?

Eric (like reading your articles, good stuff!),

That works fine if the folder to be added is not in Vault already. If it's
there already, I'll get an error. 

This is my scenario: I have a website with an image gallery. This image
gallery has lots of sub-folders and I want to store the whole folder
hierarchy in Vault. When I add pictures to the gallery, it could be that I
add images to existing folders or I create new folders (or even delete
some).  

In SourceSafe, I'll just add the root folder again and it will create the
folders that are not in SourceSafe and it will add images that are not in
the repository already. 

Can Vault handle this scenario? It would be very tedious to add folder by
folder. 

Thanks

Hans
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Eric Sink
Sent: Wednesday, February 18, 2004 3:23 PM
To: [email protected]
Subject: RE: [vault-list] How to add files recursively to an already
existing directory structure?


I may be misunderstanding your question, but
here's a response:

Just right-click on the folder where you want to
add the new files.  Select the Add Files menu
item.  This will bring up a dialog box which you
can use to add new files into the folder you
selected.  This dialog also lets you recursively
add folders as well.  Just select a folder in
the left and click the Add button on the right,
and it will appear in the list of stuff to be
added at the bottom of the dialog.

--
Eric Sink
Software Craftsman
http://software.ericsink.com/
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Hans Merkl
Sent: Tuesday, February 17, 2004 10:09 AM
To: [email protected]
Subject: [vault-list] How to add files recursively to an already existing
directory structure?

How can I add files to an already existing directory structure? The new
files are in several sub directories.

 

I have tried status search for status "missing" but I can't find a way how
to add the found files to Vault.

 

Is that possible?

 


_______________________________________________
vault-list mailing list
[email protected]
http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list

_______________________________________________
vault-list mailing list
[email protected]
http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list

_______________________________________________
vault-list mailing list
[email protected]
http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list