r77977 - /scripts/gen-mrconfig.sh

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Jul 29 10:19:54 UTC 2011


Author: gregoa
Date: Fri Jul 29 10:19:51 2011
New Revision: 77977

URL: http://svn.debian.org/wsvn/?sc=1&rev=77977
Log:
try to follow dam's changes in the new .mrconfig in this weird script

Modified:
    scripts/gen-mrconfig.sh

Modified: scripts/gen-mrconfig.sh
URL: http://svn.debian.org/wsvn/scripts/gen-mrconfig.sh?rev=77977&op=diff
==============================================================================
--- scripts/gen-mrconfig.sh (original)
+++ scripts/gen-mrconfig.sh Fri Jul 29 10:19:51 2011
@@ -30,12 +30,13 @@
         echo \"I: \$1\"
       }
       git_checkout () {
-        git clone git+ssh://git.debian.org$GIT_REPODIR/\$1.git &&
-        if [ \$1 != dh-make-perl ]; then ( cd \$1 &&
-          { git branch --track upstream remotes/origin/upstream || true; } &&
-          { git branch --track pristine-tar remotes/origin/pristine-tar || true; }
-        )
-        fi
+        gbp-clone --all git+ssh://git.debian.org$GIT_REPODIR\$1.git
+      }
+      git_update() {
+        gbp-pull --pristine-tar
+      }
+      git_checkout_special() {
+        git clone git+ssh://git.debian.org$GIT_REPODIR\$1.git
       }
 
 [.]
@@ -45,13 +46,10 @@
 
 [DEFAULT]
 skip = [ \"\$1\" = \"update\" ] && \`dirname \$MR_CONFIG\`/compare-hashes --verbose
-git_test = set -x; [ -d \$MR_REPO/.git ]
-cvs_test = exit 1
-svn_test = exit 1
+git_test = [ -d \$MR_REPO/.git ]
 
 [website]
-checkout = git_checkout website
-
+checkout = git_checkout_special website
 "
 
 # Sections for Git repositories




More information about the Pkg-perl-cvs-commits mailing list