Ability to add new files and check-in updates within atomic

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

Moderator: SourceGear

Post Reply
Allen Servedio

Ability to add new files and check-in updates within atomic

Post by Allen Servedio » Wed Dec 15, 2004 8:10 am

Hi,

I would like to be able to BOTH add new files as well as check in changes within a single atomic transaction. This way, all related changes would appear within a single version. There may be a way to do this now, but I have not been able to puzzle it out.

Subversion handles this in two ways:

1) Allow you to add files and folders but not commit them. Then commit the new as well as modified files

2) When you go to commit the changes, it also lists out all files that are new, but have not been added. You can then select the new files along with the changed ones and commit the whole thing at once. For this to work effectively, you need to be able to mark directories and files as "ignored" so that they do not keep showing up in the list of files to be checked in.

Allen

ericsink
Posts: 346
Joined: Mon Dec 15, 2003 1:52 pm
Location: SourceGear
Contact:

Post by ericsink » Wed Dec 15, 2004 8:29 am

Vault has no problem mixing different things in a transaction. If you're having trouble doing this, then Vault is configured to auto-commit after every operation, rather than leaving operations in the pending change set to be committed later. This is the default configuration, because that's how SourceSafe works.

Go to the Options dialog. Select Concurrent Development Style in the list at the left. Find the checkbox that says Auto-commit after each operation. Uncheck it.
Eric Sink
Software Craftsman
SourceGear

Allen Servedio
Posts: 2
Joined: Wed Dec 15, 2004 8:19 am

Post by Allen Servedio » Wed Dec 15, 2004 8:30 am

Excellent and thanks Eric!

Allen

Post Reply