Problems with Vault NAnt Tasks, VaultBranch and commit

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

Moderator: SourceGear

Post Reply
kahuja
Posts: 2
Joined: Thu Jul 21, 2005 8:26 am

Problems with Vault NAnt Tasks, VaultBranch and commit

Post by kahuja » Thu Jul 21, 2005 8:32 am

I'm having trouble using the vaultbranch task in nant. Everything looks like it's going to work but then I get the error "Commitment of change set failed!". I had gotten something similar when I was using the vault command line 'move' function so I had to add a 'commit' option to automatically commit the operation. I can't find anything similar using vault tasks.

The following is the target that I'm using:

<target name="BranchTest">
<vaultbranch
url="http://localthost"
username="username"
password="password"
repository="default"
sourcepath="$/BACKUP_July_19_2005/Test1"
destinationpath="$/Test1" />
</target>


Any help with this problem is greatly appreciated.

k.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jul 21, 2005 8:42 am

Not sure if you retyped or cut and pasted your command, but there's a typo:

url="http://localthost"

Should be "localhost"
Linda Bauer
SourceGear
Technical Support Manager

kahuja
Posts: 2
Joined: Thu Jul 21, 2005 8:26 am

Post by kahuja » Thu Jul 21, 2005 8:50 am

Definitely a typo... however it was retyped to hide the real address. I'm able to run other tasks (such as listrepositories). It just seems to be tasks that require a commit. Thanks anyway though.

Post Reply