equal
deleted
inserted
replaced
631 |
631 |
632 repo = None |
632 repo = None |
633 cmdpats = args[:] |
633 cmdpats = args[:] |
634 if cmd not in commands.norepo.split(): |
634 if cmd not in commands.norepo.split(): |
635 # use the repo from the request only if we don't have -R |
635 # use the repo from the request only if we don't have -R |
636 if not rpath: |
636 if not rpath and not cwd: |
637 repo = req.repo |
637 repo = req.repo |
638 |
638 |
639 if repo: |
639 if repo: |
640 # set the descriptors of the repo ui to those of ui |
640 # set the descriptors of the repo ui to those of ui |
641 repo.ui.fin = ui.fin |
641 repo.ui.fin = ui.fin |