Show More
@@ -913,7 +913,7 b' def _dispatch(req):' | |||
|
913 | 913 | if not func.optionalrepo: |
|
914 | 914 | if func.inferrepo and args and not path: |
|
915 | 915 | # try to infer -R from command args |
|
916 | repos = map(cmdutil.findrepo, args) | |
|
916 | repos = pycompat.maplist(cmdutil.findrepo, args) | |
|
917 | 917 | guess = repos[0] |
|
918 | 918 | if guess and repos.count(guess) == len(repos): |
|
919 | 919 | req.args = ['--repository', guess] + fullargs |
General Comments 0
You need to be logged in to leave comments.
Login now