[asterisk-scf-commits] asterisk-scf/integration/gitall.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Nov 5 12:29:18 CDT 2010


branch "master" has been updated
       via  89b3a5c6448a17713f89791286422a5aaab3ce41 (commit)
      from  c52dc8b4282d499e5013a448c05b72b144585abb (commit)

Summary of changes:
 gitall-asterisk-scf.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 89b3a5c6448a17713f89791286422a5aaab3ce41
Author: David M. Lee <dlee at digium.com>
Date:   Fri Nov 5 12:26:52 2010 -0500

    On pulls, update the repos' origin.  This will make moving repos to release much easier.

diff --git a/gitall-asterisk-scf.sh b/gitall-asterisk-scf.sh
index 2d3832b..9d54a5d 100755
--- a/gitall-asterisk-scf.sh
+++ b/gitall-asterisk-scf.sh
@@ -117,6 +117,8 @@ EOF
         repoUri=${gitdepot}${tree}/${repo}
 
         if [ -d ${repoDir}/.git ]; then
+            # update the origin to what is specified in repoUri
+            ( cd ${repoDir} && git remote set-url origin ${repoUri} )
             if ( cd ${repoDir} && git rev-parse --verify @{upstream} > /dev/null 2>&1 ); then
                 echo ">> Pulling from repo ${repoUri}"
                 ( cd ${repoDir} && git pull )

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


-- 
asterisk-scf/integration/gitall.git



More information about the asterisk-scf-commits mailing list