Changeset fc68e6c2770c…
Parent a7860cebab42…
by
Changes to one file · Browse files at fc68e6c2770c Showing diff from parent a7860cebab42 Diff from another changeset...
@@ -1152,7 +1152,8 @@ def run(ui, *pats, **opts):
from tortoisehg.util import paths
from tortoisehg.hgqt import thgrepo
- repo = thgrepo.repository(ui, path=paths.find_root())
+ root = opts.get('root', paths.find_root())
+ repo = thgrepo.repository(ui, path=root)
pats = hglib.canonpaths(pats)
os.chdir(repo.root)
return CommitDialog(repo, pats, opts)
|
Loading...