Commit 17d14cb1 authored by Matthias Putz's avatar Matthias Putz

--amend

parent 5a8daaf1
...@@ -412,8 +412,8 @@ def _WindowsPager(repo): ...@@ -412,8 +412,8 @@ def _WindowsPager(repo):
pager = _SelectPager(cmd.manifest.globalConfig) pager = _SelectPager(cmd.manifest.globalConfig)
shellCommand = "%s %s %s -- --piped-into-pager --no-pager %s | %s" % (python, thisScript, ' '.join(args1), ' '.join(args2), pager) shellCommand = "%s %s %s -- --piped-into-pager --no-pager %s | %s" % (python, thisScript, ' '.join(args1), ' '.join(args2), pager)
print("NEW 1") print("NEW 1")
subprocess.call(shellCommand, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) subprocess.call(shellCommand, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print("DONE")
return True return True
else: else:
# set global variable if output is piped into pager; means that pager is simulated, this # set global variable if output is piped into pager; means that pager is simulated, this
...@@ -453,7 +453,7 @@ def _Main(argv): ...@@ -453,7 +453,7 @@ def _Main(argv):
if not portable.isPosix(): if not portable.isPosix():
if _WindowsPager(repo): if _WindowsPager(repo):
# everything was already done; so exit # everything was already done; so exit
exit(0); return;
if opt.debug: if opt.debug:
print("enter debug mode, host %s" % opt.debug_host) print("enter debug mode, host %s" % opt.debug_host)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment