Automatically Adding New Files

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
tpatton
Posts: 16
Joined: Thu Oct 07, 2004 7:44 pm
Location: Wilmington, DE

Automatically Adding New Files

Post by tpatton » Thu Oct 07, 2004 7:50 pm

I'm testing out the demo of Vault right now, I'm not sure what version but I downloaded it a week ago. I have one question/issue. Whenever I open the Vault client it picks up every file I have edited since last time (good). However it does not pick up any newly created files in any of the local folders (bad). I have to go into "Add Files" and manual put them in. Which means after a day of coding on a few projects I need to remember exactly what I created and where. Is there an automatic way to handle this, a checkbox I missed msybe?

gmagana
Posts: 145
Joined: Wed Feb 18, 2004 10:51 am
Location: Santa Ana, CA, USA

Post by gmagana » Fri Oct 08, 2004 9:02 am

It depends on how you program :-) ...

Automatically picking up every new file and adding it to source control would be undesireable for me because I deal with larger databases, and waiting for Vault to auto-add a 500MB Access/dBase database only when I know I'm going to remove it would really make me mad!

Also, there are things you should not add to source control unless you really want to, such as .OBJ files, compiled executables, other "derived" files, data files, etc...

This is all assuming you are using a development environment that does not have built-in version control mechanisms.

If you are using an environment such as Visual Studio, on the other hand, it has built-in fnuctionality to automatically add new files to source control. You just have to set up the environment to do this.

So I suppose my only questions to you is: Are you using an IDE for your coding, and can it use the Vault source control provider?
gabriel magana-gonzalez

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Oct 08, 2004 1:22 pm

In 3.0, we will have a "Detect New Files" command. It won't automatically put them in the pending change set, but it will be much easier to see which files are on the local system and not in the repository.

Automatically adding files to the pending change set would take a lot of saved state to get right, since you'd want Vault to remember which files you've already said you don't want to add. Also, as Gabriel pointed out, it would annoy some people :)

tpatton
Posts: 16
Joined: Thu Oct 07, 2004 7:44 pm
Location: Wilmington, DE

Post by tpatton » Sat Oct 09, 2004 12:54 pm

True, I understand for some people it could be a hassle or a huge slowdown.

For me I am coding Java in Codeguide. I'm just backing up my source to Vault and there arent too many files, they are just scattered around. I'd love to be able to mark the source directories as ones to always pick up new files. I know Codeguide has some CVS support, I'll have to see if I can make it work with Vault and tell it to add new files.

Post Reply