|
@@ -1877,6 +1877,7 @@ class Project(object):
|
|
|
gitcmd = GitCommand(self, cmd, bare=True, capture_stderr=True,
|
|
gitcmd = GitCommand(self, cmd, bare=True, capture_stderr=True,
|
|
|
ssh_proxy=ssh_proxy)
|
|
ssh_proxy=ssh_proxy)
|
|
|
ret = gitcmd.Wait()
|
|
ret = gitcmd.Wait()
|
|
|
|
|
+ print(gitcmd.stderr, file=sys.stderr, end='')
|
|
|
if ret == 0:
|
|
if ret == 0:
|
|
|
ok = True
|
|
ok = True
|
|
|
break
|
|
break
|
|
@@ -1886,8 +1887,9 @@ class Project(object):
|
|
|
"git remote prune" in gitcmd.stderr):
|
|
"git remote prune" in gitcmd.stderr):
|
|
|
prunecmd = GitCommand(self, ['remote', 'prune', name], bare=True,
|
|
prunecmd = GitCommand(self, ['remote', 'prune', name], bare=True,
|
|
|
capture_stderr=True, ssh_proxy=ssh_proxy)
|
|
capture_stderr=True, ssh_proxy=ssh_proxy)
|
|
|
- if prunecmd.Wait():
|
|
|
|
|
- print(prunecmd.stderr, file=sys.stderr)
|
|
|
|
|
|
|
+ ret = prunecmd.Wait()
|
|
|
|
|
+ print(prunecmd.stderr, file=sys.stderr, end='')
|
|
|
|
|
+ if ret:
|
|
|
break
|
|
break
|
|
|
continue
|
|
continue
|
|
|
elif current_branch_only and is_sha1 and ret == 128:
|
|
elif current_branch_only and is_sha1 and ret == 128:
|