[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. 521cc4f6e9ebdca983ff2a643bf6f78602c6c018

Antonio Terceiro terceiro at softwarelivre.org
Tue Sep 20 21:33:45 UTC 2011


The following commit has been merged in the master branch:
commit 2661af7a9bf91b3143c1b478f00514e343fe9925
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Wed Sep 14 14:00:47 2011 -0700

    different heads lists for local and remote execution

diff --git a/manifest b/manifest
index a4f4c46..cd787fa 100755
--- a/manifest
+++ b/manifest
@@ -6,9 +6,11 @@ gitdirprefix="$1"
 if test -d gem2deb; then
   # local
   gitdirprefix="*/.git"
+  headsprefix=refs/remotes/origin
 else
   # remote, on alioth
   gitdirprefix="*.git"
+  headsprefix=refs/heads
 fi
 
 for dir in $gitdirprefix; do
@@ -16,7 +18,7 @@ for dir in $gitdirprefix; do
   name="${name%%.git}"
   name="${name%%/}"
   echo "$name:"
-  for head in $dir/refs/heads/*; do
+  for head in $dir/$headsprefix/*; do
     if test -f $head; then
       headname="${head##*/}"
       echo -n "  $headname: "

-- 
pkg-ruby-extras.git



More information about the Pkg-ruby-extras-commits mailing list