Mercurial > hg
changeset 14863:1c148e935244 stable
dispatch: don't use request repo if we have --cwd
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Mon, 11 Jul 2011 17:46:55 +0300 |
parents | abf915f537be |
children | 1b872599f39f |
files | mercurial/dispatch.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dispatch.py Tue Jul 12 12:06:11 2011 -0400 +++ b/mercurial/dispatch.py Mon Jul 11 17:46:55 2011 +0300 @@ -633,7 +633,7 @@ cmdpats = args[:] if cmd not in commands.norepo.split(): # use the repo from the request only if we don't have -R - if not rpath: + if not rpath and not cwd: repo = req.repo if repo: