Command Line GET returns directories only
Moderator: SourceGear
-
- Posts: 15
- Joined: Tue Apr 06, 2004 7:29 am
Command Line GET returns directories only
I have a build script running everynight that retrieves all the source from Vault then does a full build. Most of the time this works, but every once in a while my GET succeeds but no files are retrieved only the directories are created. When I look at my logs I see that the GET returned:
/program files/SourceGear/Vault Client//program files/SourceGear/Vault Client/vault.exe GET -host vault -user mfleming -repository MVP -destpath /development $/development
<vault>
<result success="yes" />
</vault>
Like I said most of the time this works, but everyonce in a while it will return only the directories.
Thanks,
Matt Fleming
/program files/SourceGear/Vault Client//program files/SourceGear/Vault Client/vault.exe GET -host vault -user mfleming -repository MVP -destpath /development $/development
<vault>
<result success="yes" />
</vault>
Like I said most of the time this works, but everyonce in a while it will return only the directories.
Thanks,
Matt Fleming
-
- Posts: 15
- Joined: Tue Apr 06, 2004 7:29 am
I'm not sure if "/development" is a "valid-enough" path for the .NET framework (if you're using cygwin, I think the path is translated before it's passed--I've used vault successfully this way). It might help if you specify a full DOS-style path ("c:\development") with backslashes. Weird that it works sometimes, though.
Which version of Vault are you using?
[edited to fix incorrect path names]
Which version of Vault are you using?
[edited to fix incorrect path names]
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`
-
- Posts: 15
- Joined: Tue Apr 06, 2004 7:29 am