changeset 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 d59b0340a85a
children 2233cb266ab0
files .shell.d/50.vcs_functions.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.'