]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
queue: fetch origin, not branch
authorSage Weil <sage@inktank.com>
Fri, 23 Aug 2013 05:20:26 +0000 (22:20 -0700)
committerSage Weil <sage@inktank.com>
Fri, 23 Aug 2013 05:20:26 +0000 (22:20 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/queue.py

index 220420ce826633938cedcd89923420d926625455..d35b574f0e19a1444b2131ff69ddeee6b4021b04 100644 (file)
@@ -107,7 +107,7 @@ describe. One job is run at a time.
             subprocess.Popen(('./bootstrap'), cwd=teuth_path, env=env)
         else:
             log.info("Pulling %s from upstream", teuthology_branch)
-            subprocess.Popen(('git', 'fetch', teuthology_branch), cwd=teuth_path)
+            subprocess.Popen(('git', 'fetch', '-p', 'origin'), cwd=teuth_path)
             subprocess.Popen(('git', 'reset', '--hard', 'origin/%s' %
                               teuthology_branch), cwd=teuth_path)