Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable commit: respect the provided root argument to the run function (closes #1095)

Changeset fc68e6c2770c

Parent a7860cebab42

by Steve Borho

Changes to one file · Browse files at fc68e6c2770c Showing diff from parent a7860cebab42 Diff from another changeset...

 
1152
1153
1154
1155
 
 
1156
1157
1158
 
1152
1153
1154
 
1155
1156
1157
1158
1159
@@ -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)