# HG changeset patch # User Augie Fackler # Date 1248362632 18000 # Node ID 1286c27cf0c0ddd240b122b07d5c6e1f3dc9dab7 # Parent d59b0340a85ad32f53a3ad935fc7434d59699af5 Need to use paths default instead of the outdated svn url now. diff --git a/.shell.d/50.vcs_functions.sh b/.shell.d/50.vcs_functions.sh --- 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.'