Urgent: Rollback disabled?

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

Moderator: SourceGear

Locked
ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Urgent: Rollback disabled?

Post by ismangil » Wed Oct 26, 2005 7:15 am

Ver 3.1.1

I have done rollback a few months, but today the rollback option in the history explorer is greyed out!

We never pin stuff.

And this is in all repositories.

Any ideas?

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

Post by dan » Wed Oct 26, 2005 8:13 am

Rollback is not available for versions of a file that are before a branch operation. Has there been a branch operation on the file after the version you are trying to rollback to?

ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Post by ismangil » Wed Oct 26, 2005 10:00 am

dan wrote:Rollback is not available for versions of a file that are before a branch operation. Has there been a branch operation on the file after the version you are trying to rollback to?
Oh. Crumbs. Yes, this file is recently branched. Is it then the solution is to just overwrite with the version we want from the main branch and check in?

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

Post by dan » Wed Oct 26, 2005 10:04 am

Yes, that would be the recommended procedure.

GregM
Posts: 485
Joined: Sat Mar 13, 2004 9:00 am

Post by GregM » Wed Oct 26, 2005 2:40 pm

Dan, why is that not allowed?

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Oct 26, 2005 7:02 pm

GregM:

Underneath the names of files/folders in the repository, the Vault server relies on the actual Object's ID. With simple rollback, the server just gets the version based on the object's ID, and sticks it back in the tree.

If the server allowed rolling back through branches, it would have to be able to walk the ancestor path of the object. Note it may have to walk that branched object's branch paths in the case of a branch of a branch, and so on and so forth for each branched path the object takes. Rolling back through object branches got sticky very quickly.

Now, there is a feature request to add this functionality to the Server. I've added a vote from this thread, but as things stand right now, it is low in priority as only one other person has ever requested this functionality.

HTH
Jeff Clausius
SourceGear

GregM
Posts: 485
Joined: Sat Mar 13, 2004 9:00 am

Post by GregM » Wed Oct 26, 2005 7:09 pm

Since you can "Get" that same version, that logic must already exist somewhere.

Had I known of this limitation, I would have requested it earlier. Please add another vote.

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Oct 27, 2005 6:42 am

Will do.
Jeff Clausius
SourceGear

ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Post by ismangil » Thu Oct 27, 2005 9:06 am

jclausius wrote:Will do.
Just to be clear, I vote for this feature too.

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Oct 27, 2005 9:15 am

I put down votes for both Greg and you.

Thanks for the feedback.
Jeff Clausius
SourceGear

jtaylor
Posts: 17
Joined: Thu Feb 02, 2006 1:03 pm

Another vote

Post by jtaylor » Thu Aug 24, 2006 11:25 am

I just had a user run into this today. Please add my vote.

Thanks
Jason Taylor

Locked