diff .shell.d/50.vcs_functions.sh @ 129:1286c27cf0c0

Need to use paths default instead of the outdated svn url now.
author Augie Fackler <durin42@gmail.com>
date Thu, 23 Jul 2009 10:23:52 -0500
parents 5f00625aa1ed
children 5b0b8ad2cb2c
line wrap: on
line diff
--- a/.shell.d/50.vcs_functions.sh
+++ b/.shell.d/50.vcs_functions.sh
@@ -78,7 +78,7 @@ function hg-ammend() {
 
 function hg-svn-mkbranch() {
     local upstream
-    upstream=$(hg svn url)
+    upstream=$(hg paths default | sed 's%/*$%%')
     local branchname
     if [ "x$1" = "x" ] ; then
         echo 'Must provide new branch name.'