Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.2, 0.3rc1, and 0.3

hggtk/addremove: fix traceback caused by newly added cwd parameter

Changeset c853f3171d3d

Parent 8d1bd38e503a

by TK Soh

Changes to one file · Browse files at c853f3171d3d Showing diff from parent 8d1bd38e503a Diff from another changeset...

 
16
17
18
19
 
20
21
22
 
34
35
36
37
 
38
39
40
 
16
17
18
 
19
20
21
22
 
34
35
36
 
37
38
39
40
@@ -16,7 +16,7 @@
 from mercurial.i18n import _  from status import GStatus   -def run(hgcmd='add', root='', files=[], **opts): +def run(hgcmd='add', root='', cwd='', files=[], **opts):   u = ui.ui()   u.updateopts(debug=False, traceback=False)   repo = hg.repository(u, path=root) @@ -34,7 +34,7 @@
  else:   raise "Invalid command '%s'" % hgcmd   - dialog = GStatus(u, repo, files, cmdoptions, True) + dialog = GStatus(u, repo, cwd, files, cmdoptions, True)     gtk.gdk.threads_init()   gtk.gdk.threads_enter()