Commit a36a90b9 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1105 from Drarok/fix-svn

Fix the svn plugin only outputting the 1st path segment
parents e6fc2c67 e2f76235
...@@ -16,7 +16,7 @@ function svn_get_repo_name { ...@@ -16,7 +16,7 @@ function svn_get_repo_name {
if [ $(in_svn) ]; then if [ $(in_svn) ]; then
svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT 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 fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment