]> git.wh0rd.org - home.git/blobdiff - .bin/git-update
installkernel: improve s390 logic
[home.git] / .bin / git-update
index 6e4b39f6fd44ae5cf17e32022313978946f34be8..324dc7b2c163aec863acd47bb93c33655530dbb0 100755 (executable)
@@ -9,10 +9,15 @@ 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) "$@"
        expected="Already up-to-date."
+elif [[ -d CVS ]] && git rev-parse origin >/dev/null ; then
+       set -- git cvsimport -a
+       expected="Already up-to-date."
 else
        set -- git pull "$@"
        expected="Already up-to-date."