From f019685f87add6182dfde500aaf887b25c07a5ce 2012-08-02 05:28:45 From: MinRK Date: 2012-08-02 05:28:45 Subject: [PATCH] use origin as first pull try in test_pr prevents 'your branch is ahead of origin/master by xx commits' messages from growing over time. --- diff --git a/tools/test_pr.py b/tools/test_pr.py index 43ade2e..4ee9717 100755 --- a/tools/test_pr.py +++ b/tools/test_pr.py @@ -87,7 +87,7 @@ class TestRun(object): os.chdir(repodir) check_call(['git', 'checkout', 'master']) try : - check_call(['git', 'pull', ipy_repository, 'master']) + check_call(['git', 'pull', 'origin', 'master']) except CalledProcessError : check_call(['git', 'pull', ipy_http_repository, 'master']) os.chdir(basedir)