Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support flipped externals with a caret in them #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

reversefold
Copy link

@reversefold reversefold commented Aug 14, 2012

In a repo at work I found some svn:externals which have the URL first and the directory second. Not only this, the urls start with ^, which is supposed to be "Repository Root". Lastly, these started with "../" to go up past the top of the current repo and then had a directory after that to go back down to another repo.

I've added support for swapping the externals based on a "slash" being in the remote url.

When a "^" is found, it and everything before it is replaced with the "Repository Root".

When "/../" is found, it and the directory before it are removed.


This change is Reviewable

@reversefold
Copy link
Author

ping

@SvenRieke
Copy link

Just tried it and works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants