Command Line GET returns directories only

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
mattFleming
Posts: 15
Joined: Tue Apr 06, 2004 7:29 am

Command Line GET returns directories only

Post by mattFleming » Fri Apr 23, 2004 6:58 am

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

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

Post by dan » Fri Apr 23, 2004 7:17 am

Is there any information in the server log? (it's in %systemroot%/temp/sgvault).

mattFleming
Posts: 15
Joined: Tue Apr 06, 2004 7:29 am

Post by mattFleming » Fri Apr 23, 2004 7:27 am

Only thing in the log is my login.

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

Post by dan » Fri Apr 23, 2004 7:35 am

Has the /development folder ever been used as a working folder? Also, is it a drive on the local machine, or is it a network drive?

mattFleming
Posts: 15
Joined: Tue Apr 06, 2004 7:29 am

Post by mattFleming » Fri Apr 23, 2004 7:38 am

Currently no working directory is set for $/development. Also /development is a directory on the local machine.

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Fri Apr 23, 2004 8:08 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]
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

mattFleming
Posts: 15
Joined: Tue Apr 06, 2004 7:29 am

Post by mattFleming » Fri Apr 23, 2004 8:10 am

We are using version 2.0.1.

I will try using c:\development and see if it happens again.

Locked