mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
Don't drop everything after a trailing slash, as this breaks standard svn branches:
^/branches/featurename ^/releases/Release-vx.y ^/trunk
This commit is contained in:
parent
1120f97305
commit
e2f7623534
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function svn_get_repo_name {
|
|||
if [ $(in_svn) ]; then
|
||||
svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT
|
||||
|
||||
svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p" | sed "s/\/.*$//"
|
||||
svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue