[sysadmin-bin] revert another change



commit 397ff24ca9355c33b4be3eaf7b0b02ee2faf50ff
Author: Olav Vitters <olav vitters nl>
Date:   Thu Mar 15 20:17:18 2012 +0100

    revert another change

 gnomeweb/update_sites.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomeweb/update_sites.py b/gnomeweb/update_sites.py
index a052578..7501614 100755
--- a/gnomeweb/update_sites.py
+++ b/gnomeweb/update_sites.py
@@ -153,8 +153,8 @@ def update_module_real(moduleroot, url, branch='master', clone_only=False, verbo
             os.chdir(moduleroot)
             if branch != 'master':
                 if verbose:
-                    print "Running git checkout ", branch
-                git.checkout(branch)
+                    print "Running git checkout -b", branch, "origin/" + branch
+                git.checkout('-b', branch, 'origin/' + branch)
         elif clone_only:
             pass
         else:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]