Getlatest on pinned files returns wrong version

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

Moderator: SourceGear

Post Reply
fabrice.aeschbacher
Posts: 7
Joined: Tue Jan 11, 2005 9:14 am

Getlatest on pinned files returns wrong version

Post by fabrice.aeschbacher » Mon Dec 05, 2005 4:52 am

Hi,

[SOS Server 4.1.2 - Windows / SOS Client 4.1.2 - Linux]

When achieving a "getlatest" on files that have been pinned (the "pin" operation was done directly with VSS), the sos client does not recognize that the file has been pinned, and gets the wrong version (i.e., the latest instead of the pinned one).

Is this an intended behaviour? Do I miss something? Has someone already been successfull with SOS and pinned files/projects?#

Best regards,
Fabrice Aeschbacher

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

Post by lbauer » Mon Dec 05, 2005 8:30 am

In the GUI Client under Tools->Options->View, is "Display the status of pinned files" checked?
Linda Bauer
SourceGear
Technical Support Manager

fabrice.aeschbacher
Posts: 7
Joined: Tue Jan 11, 2005 9:14 am

Post by fabrice.aeschbacher » Mon Dec 05, 2005 8:54 am

It is now; and I get the correct version now; I verifierd only for one file, but it seems to work.

Thanks,
Fabrice Aeschbacher

fabrice.aeschbacher
Posts: 7
Joined: Tue Jan 11, 2005 9:14 am

Post by fabrice.aeschbacher » Mon Dec 05, 2005 10:27 am

Sorry, but it's only working with 'sos' (GUI), not with the command line client, (which I was not expecting)

The exact command being executed is:

$ /usr/bin/soscmd -command GetProject -server sosserver:8080 -name myname -password mypwd -database 'C:\VSS_DB\srcsafe.ini' -soshome /vss/.sos -nocompress -verbose -project '$/path/to/project' -recursive

The above command returns the latest version of the files, rather than the pinned one.

But following works:
$ export SOSHOME=/vss/.sos
$ sos
and the achieve a 'getlatest' on the same project.

And of course, we need to use the command line client...

Any idea?

fabrice.aeschbacher
Posts: 7
Joined: Tue Jan 11, 2005 9:14 am

Post by fabrice.aeschbacher » Wed Dec 07, 2005 3:55 am

Hi,

Could someone try to get the correct pinned version of a file with the command line client? We need to know wether it is a general problem of the CLC (4.1.2), or if we miss something.

Regards,
Fabrice Aeschbacher

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

Post by lbauer » Wed Dec 07, 2005 9:14 am

There is a bug in SOS 4.1.2 that causes the command line client to get the latest version, rather than the pinned version of the file. We hope to address this in a future release, but we don't have a timeframe as yet.
Linda Bauer
SourceGear
Technical Support Manager

fabrice.aeschbacher
Posts: 7
Joined: Tue Jan 11, 2005 9:14 am

Post by fabrice.aeschbacher » Wed Dec 07, 2005 9:27 am

Hi Linda,

Thank you for your reply.

As soon as you think you have fixed this bug, we are volunteer to test it if you want (you could just send a patch).

Anyway, would it be possible to keep us informed?

Best regards,
Fabrice Aeschbacher

Post Reply