How to roll back to a label/date?

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

Moderator: SourceGear

diftil
Posts: 3
Joined: Thu Feb 02, 2012 9:54 pm

Re: How to roll back to a label/date?

Post by diftil » Wed Mar 06, 2013 11:07 pm

I agree it's a complex operation...which is why it'd be nice to have automated. I look forward to Vault 7. This would make labels much more powerful. The ability to try something in the main line, find out it's not working, and roll the whole project back without branching would be huge.

ejhansen71
Posts: 60
Joined: Thu Nov 13, 2014 10:12 am
Location: Lake in the Hills, IL

Re: How to roll back to a label/date?

Post by ejhansen71 » Thu May 21, 2015 11:10 am

Hi! Bringing up an older topic, but I have the same question. We are on version 8.0.1 Standard. Is it possible to rollback a Label?

We use your API to create a Promotion tool that moves Labels (and their programs associated with the label) to our QA server. Is there a simple way to rollback? I saw the comments above, but when I right click on a folder, I don't see an archive option.
Thanks!

Eric

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

Re: How to roll back to a label/date?

Post by Beth » Thu May 21, 2015 1:33 pm

There currently isn't a label rollback.

When you are talking about moving the code in a label to a QA server, are you talking about performing a Get on that label to the QA server? Do you possibly need the code on the server to return to what it was previously and not the code inside Vault?
Beth Kieler
SourceGear Technical Support

ejhansen71
Posts: 60
Joined: Thu Nov 13, 2014 10:12 am
Location: Lake in the Hills, IL

Re: How to roll back to a label/date?

Post by ejhansen71 » Thu May 21, 2015 1:37 pm

The ability to undo the GET on the QA server based on what the label contains.

e.g. we move label A with 10 programs to our QA server Then for whatever reason, they want to undo that.

I can custom code a solution, but was checking if there was something already baked into Vault.
Thanks!

Eric

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

Re: How to roll back to a label/date?

Post by Beth » Thu May 21, 2015 2:01 pm

Thanks for the explanation. That's different than this thread.

Are the GETs on the QA server always labels? If so, you can go back to the previous label pushed to that server and Get on it again.
Beth Kieler
SourceGear Technical Support

ejhansen71
Posts: 60
Joined: Thu Nov 13, 2014 10:12 am
Location: Lake in the Hills, IL

Re: How to roll back to a label/date?

Post by ejhansen71 » Thu May 21, 2015 2:20 pm

That would work on any existing code, but if new code was pushed via label B, repromoting label A won't remove that new program.

You can close the ticket - it's not a big deal - I just thought I'd ask.
Thanks!

Eric

Post Reply