Rollback to a old version in commandline

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

Moderator: SourceGear

Post Reply
senpost
Posts: 4
Joined: Fri May 08, 2009 9:45 am

Rollback to a old version in commandline

Post by senpost » Fri May 08, 2009 9:51 am

Hi I am trying to rollback a file to a older version in command line. I checked vault.exe, phoo no help.

I am using client version 1.1.3.18336

Any help would be appreciated.

Regards,
Se

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Rollback to a old version in commandline

Post by Beth » Fri May 08, 2009 12:11 pm

There currently isn't a command in the command line for rollback. What you can do is check out the file you want to roll back, then perform a Get of a previous version, but Get to a non-working folder. Copy the old version that is in a non-working folder and paste it over the version in the working folder. Then check it in.

In the Vault GUI client there is a rollback command that works on individual files.
Beth Kieler
SourceGear Technical Support

senpost
Posts: 4
Joined: Fri May 08, 2009 9:45 am

Re: Rollback to a old version in commandline

Post by senpost » Fri May 08, 2009 12:40 pm

Thanks Beth, Thats what I am doing, And I am Adding this information in the comment, It would be nice If I can leave the trail in History so its self explanatory.
I appreciate your help though.

Thanks,
Se

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Rollback to a old version in commandline

Post by Beth » Fri May 08, 2009 12:47 pm

Thanks for the update. I can add a feature request for a command-line rollback if you would like.
Beth Kieler
SourceGear Technical Support

senpost
Posts: 4
Joined: Fri May 08, 2009 9:45 am

Re: Rollback to a old version in commandline

Post by senpost » Fri May 08, 2009 12:56 pm

Oh That will be great and slick.

Thanks for asking.

Regards,
Se

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Rollback to a old version in commandline

Post by Beth » Fri May 08, 2009 1:08 pm

Done. Thanks for the feedback.

F: 14330
Beth Kieler
SourceGear Technical Support

Post Reply