Mercurial > dotfiles
comparison .shell.d/50.vcs_functions.sh @ 167:f485c32913cd
vcs functions: refer to hgsubversion by the real name
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 16 Dec 2009 10:29:56 -0600 |
parents | 59ea03d7029a |
children | 040ac89ffe1e |
comparison
equal
deleted
inserted
replaced
166:1f6d35a7a197 | 167:f485c32913cd |
---|---|
36 dir="." | 36 dir="." |
37 fi | 37 fi |
38 url=`hg -R $dir svn info 2> /dev/null | grep '^URL: ' | sed 's/URL: //'` | 38 url=`hg -R $dir svn info 2> /dev/null | grep '^URL: ' | sed 's/URL: //'` |
39 fi | 39 fi |
40 if [ x"$url" = "x" ] ; then | 40 if [ x"$url" = "x" ] ; then |
41 echo -n 'No repo found (tried svn, git-svn, hgsvnclient)' | 41 echo -n 'No repo found (tried svn, git-svn, hgsubversion)' |
42 fi | 42 fi |
43 echo $url | 43 echo $url |
44 } | 44 } |
45 | 45 |
46 function hgsvnmergebranch() { | 46 function hgsvnmergebranch() { |