Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't drop everything after a trailing slash, as this breaks standard…

… svn branches:

^/branches/featurename
^/releases/Release-vx.y
^/trunk
  • Loading branch information...
commit e2f7623534054645e849db42a0030a1642e5ba97 1 parent 1120f97
Mat Gadd authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/svn/svn.plugin.zsh
View
2  plugins/svn/svn.plugin.zsh
@@ -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
}
Please sign in to comment.
Something went wrong with that request. Please try again.