Commit 7df87662 authored by Matthias Putz's avatar Matthias Putz

bugfix status cmd due to space in path

parent adc267a8
...@@ -411,7 +411,7 @@ def _WindowsPager(repo): ...@@ -411,7 +411,7 @@ def _WindowsPager(repo):
args1 = args[:argsSplit] args1 = args[:argsSplit]
args2 = args[argsSplit+1:] args2 = args[argsSplit+1:]
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 = [python, thisScript] + args1 + ['--', '--piped-into-pager', '--no-pager'] + args2 + ['|', pager]
subprocess.call(shellCommand, shell=True) subprocess.call(shellCommand, shell=True)
return True return True
else: else:
......
...@@ -571,6 +571,11 @@ later is required to fix a server side protocol bug. ...@@ -571,6 +571,11 @@ later is required to fix a server side protocol bug.
self.manifest._Unload() self.manifest._Unload()
if opt.jobs is None: if opt.jobs is None:
self.jobs = self.manifest.default.sync_j self.jobs = self.manifest.default.sync_j
if not portable.isPosix():
# fix broken manifest.xml link
pass
all_projects = self.GetProjects(args, all_projects = self.GetProjects(args,
missing_ok=True, missing_ok=True,
submodules_ok=opt.fetch_submodules) submodules_ok=opt.fetch_submodules)
......
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