From: Mike Frysinger Date: Thu, 2 Jan 2014 20:34:32 +0000 (-0500) Subject: git-update: handle hg X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f45b2012290d1870531d738c3e3f3cd3d8c087e1;p=home.git git-update: handle hg --- diff --git a/.bin/git-update b/.bin/git-update index ddc4a8f..324dc7b 100755 --- a/.bin/git-update +++ b/.bin/git-update @@ -9,6 +9,8 @@ if git config svn-remote.svn.url >/dev/null ; then # i.e. good to use .git/authors set -- git svn fetch --all "$@" expected="" +elif git config remote.hg.url >/dev/null ; then + git-hg pull elif git config cvs.cvsroot >/dev/null ; then # authors file is at .git/cvs-authors set -- git cvsimport -a -d $(git config cvs.cvsroot) $(git config cvs.module) "$@"