From f45b2012290d1870531d738c3e3f3cd3d8c087e1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 2 Jan 2014 15:34:32 -0500 Subject: [PATCH] git-update: handle hg --- .bin/git-update | 2 ++ 1 file changed, 2 insertions(+) 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) "$@" -- 2.39.5