[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] [bacula.org] Bacula Community source branch Branch-5.2 updated. 510d238d081a2808c07
From:       git () bacula ! org
Date:       2013-02-21 9:23:29
Message-ID: 20130221092329.A1C8F39C003 () bacula ! bacula ! org
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Bacula Community source".

The branch, Branch-5.2 has been updated
       via  510d238d081a2808c07cf5fcb850660103764428 (commit)
      from  faaba0e0daf678bde4c513dee3cc0d3d98164edf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 510d238d081a2808c07cf5fcb850660103764428
Author: Kern Sibbald <kern@sibbald.com>
Date:   Thu Feb 21 10:23:18 2013 +0100

    Fix pushtags to update both repos

-----------------------------------------------------------------------

Summary of changes:
diff --git a/bacula/release/pushtags b/bacula/release/pushtags
index 4ec85e1..7799995 100755
--- a/bacula/release/pushtags
+++ b/bacula/release/pushtags
@@ -5,18 +5,25 @@
 
 . ./config
 
+push()
+{
+  for i in $bacula $docs ; do
+    cd $i
+    current=`git branch | awk '/*/ { print $2 }'`
+    git checkout ${branch}
+    git push ${1} ${branch}
+    git push ${1} tag ${fulltag}
+    echo "Pushed ${1} and git push ${1} tag ${fulltag} in $i"
+    git checkout ${current}
+  done
+}
+
 echo "Updating repo and tags for release version: ${ver}"
 
 cd $cwd
 
 fulltag=Release-$ver
 
-for i in $bacula $docs ; do
-  cd $i
-  current=`git branch | awk '/*/ { print $2 }'`
-  git checkout ${branch}
-  git push ${remote} ${branch}
-  git push ${remote} tag ${fulltag}
-  echo "Pushed ${remote} and git push ${remote} tag ${fulltag} in $i"
-  git checkout ${current}
-done
+# Push to both remotes
+push ${remote}
+push bacula


hooks/post-receive
-- 
Bacula Community source

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic