changeset 10239 | 8e4be44a676f |
parent 10238 | e22695b4472f |
child 10240 | 3af4b39afe2a |
--- a/mercurial/cmdutil.py Wed Jan 06 21:11:58 2010 +0100 +++ b/mercurial/cmdutil.py Wed Jan 06 21:11:58 2010 +0100 @@ -572,7 +572,7 @@ os.close(lockfd) try: if not runargs: - runargs = sys.argv[:] + runargs = util.hgcmd() + sys.argv[1:] runargs.append('--daemon-pipefds=%s' % lockpath) # Don't pass --cwd to the child process, because we've already # changed directory.