I have a trunk - let's call it 15.0
Within that source trunk, I have various shared links - say
15.0\myapp\core\myicon.ico -> 15.0\myapp\resources\English\myicon.ico
where -> is links-to.
If I branch 15.0 to 15.1, I get a copy of everything under 15.0 as 15.1... except that shared links such as the above remain fixed upon 15.0, rather than being relative to the new branch.
i.e. - what I want to end up with is:
15.1\myapp\core\myicon.ico -> 15.1\myapp\resources\English\myicon.ico
...but instead end up with:
15.1\myapp\core\myicon.ico -> 15.0\myapp\resources\English\myicon.ico
So I've got links that cross branches. Undesirable.
Is there a way to say "branch this and force all links to remain relative"
Or alternately, is there a way to create the link as a relative link in the first place?
(Also, any ideas on how to fix up the mess I've got now - with files linked back to 15.0?)
Create internally relative links so a branch is comlete?
Moderator: SourceGear
Re: Create internally relative links so a branch is comlete?
All links within a branch should be relative to their share links within the branch. For instance I created this folder called Project 15, added a subfolder, then shared files from the Project 15 folder into the subfolder.Is there a way to say "branch this and force all links to remain relative"
Then I branched Project 15 to Project 15.1.
The shares were relative to Project 15.1.
So . . . I'm not sure why you see a different behavior.
Are any of the shares linked to shares outside of the branch?
Is your database a VSS import that had shares?
- Attachments
-
- share in branch.PNG (44.13 KiB) Viewed 5063 times
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Create internally relative links so a branch is comlete?
Well, that's good news in that if I fix them now, hopefully they'll stay fixed.
This is a VSS import, yes.
EDIT: D'oh - my bad. I cannot find any links which are not relative to 15.1. I don't know what I saw last week - but I'm going to have to assume I just was looking in the wrong branch (the 15.0 branch) when I saw the links that went to 15.0...
So, all is well. This appears to be a total non-issue (user-error) :}
This is a VSS import, yes.
EDIT: D'oh - my bad. I cannot find any links which are not relative to 15.1. I don't know what I saw last week - but I'm going to have to assume I just was looking in the wrong branch (the 15.0 branch) when I saw the links that went to 15.0...
So, all is well. This appears to be a total non-issue (user-error) :}
Re: Create internally relative links so a branch is comlete?
Let me know if we can be of assistance in the future.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager