Mercurial > hg > mercurial-crew-with-dirclash
annotate contrib/git-viz/git-rev-tree @ 2719:532809ba1db5
hg.py: add islocal() and defaultdest() functions, refactor
islocal tells if a repo or url is local.
defaultdest returns default path for clone if explicit path not given.
clone can now take repo or url as source
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 28 Jul 2006 10:46:25 -0700 |
parents | d8abb687d501 |
children |
rev | line source |
---|---|
406
d8abb687d501
[PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff
changeset
|
1 #!/bin/sh |
d8abb687d501
[PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff
changeset
|
2 |
d8abb687d501
[PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff
changeset
|
3 op=`basename $0 | sed -e 's/^git-//'` |
d8abb687d501
[PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff
changeset
|
4 exec hgit $op "$@" |
d8abb687d501
[PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff
changeset
|
5 |