soscmd GetProject ignores already checked out files

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

Moderator: SourceGear

Post Reply
Geoff Hall
Posts: 11
Joined: Thu Mar 04, 2004 12:16 am
Location: Melbourne, Australia

soscmd GetProject ignores already checked out files

Post by Geoff Hall » Thu Mar 04, 2004 12:59 am

I’m trying to get a project (GetProject) with soscmd and even if I have a file checked out (whether I have soshome environment variable defined or not), I always get the local version of that checked out file overwritten. VSS behaves in this situation (you have the option of defining what behaviour you want) but at the very least, I thought soscmd should NOT overwrite that file – because it is already checked out.

Is this something I should be able to do?
Is it a bug?
Is there another way to do it easily? (I can work up a file-by-file script, but I image it would take forever to run!)

If it’s none of the above, can this feature be put in version 4 please? :)

Geoff

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

Post by lbauer » Thu Mar 04, 2004 4:45 pm

This is a known bug. The CLC doesn't care if the files are writable or not.

I don't know of an easy workaround for SOS 3.5.3 But this has been fixed in SOS 4.0, due out in a few weeks. We've added an option called
-skipwritable so that the CLC will not get writable files.
Linda Bauer
SourceGear
Technical Support Manager

Guest

Post by Guest » Thu Mar 04, 2004 5:05 pm

Hi Linda,
I saw a related bug fix in the 4.0 beta discussion (#2), but wasn't sure it was also going to apply to my problem. Thanks. I'll be hanging out for 4.0 :D
Geoff

Geoff Hall
Posts: 11
Joined: Thu Mar 04, 2004 12:16 am
Location: Melbourne, Australia

Post by Geoff Hall » Thu Mar 04, 2004 5:12 pm

Now my name should be on the reply - still learning how to drive in this forum :?

Post Reply