I would like suggestions on the approach I should take to break shares on files in a particular project so I can rollback changes on those files, but only in that project. Say file F is at version 6 in project P, but in other projects it has progressed to version 8. I want to break the share in P, and then rollback to version 6 to avoid compatibility issues local to project P.
I did a get to latest version of F in P, did a branch on F in P, did a show history, selected version 6's checkin, right-clicked and selected rollback. That gave me the following error messages:
[...time...] Item $/...path/filename... caused the transaction to fail: Invalid object version specified.
[...time...] Transaction failed
How do I get this to work?
Breaking shares and rolling back
Re: Breaking shares and rolling back
The best way to do this would be to:
1) Break the share
2) View a history of the item.
3) Select the historical item and branch that.
If it's on a folder instead of a single file, then in step 2 you will select the option View Folder History by Version.
1) Break the share
2) View a history of the item.
3) Select the historical item and branch that.
If it's on a folder instead of a single file, then in step 2 you will select the option View Folder History by Version.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 3
- Joined: Thu Nov 10, 2016 8:24 am
Re: Breaking shares and rolling back
I don't follow. If you try to branch it (to the same location) it just gives you an error. Branching it to a different location doesn't make any sense either.
Re: Breaking shares and rolling back
When you perform the branch, it should have you select the location where you want to branch to be.
Are you wanting them in the same location?
Are you wanting them in the same location?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 3
- Joined: Thu Nov 10, 2016 8:24 am
Re: Breaking shares and rolling back
Yes. Going back to the desired behavior, I want to isolate the files in this project from updates that have happened in other projects that currently share files with this project. I would think that I could to a branch to break the share, then do a rollback to the to set the current version to the last version used (discarding changes made in the other projects that formerly shared the file).Beth wrote:When you perform the branch, it should have you select the location where you want to branch to be.
Are you wanting them in the same location?
Re: Breaking shares and rolling back
Yes. That is how it works. A folder branch is an isolated structure. Nothing will be shared with items outside of that newly created branch path, but shared items 'within' the branch path will still retain their share properties.seamusbleu wrote:I want to isolate the files in this project from updates that have happened in other projects that currently share files with this project.
Jeff Clausius
SourceGear
SourceGear