Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

rename: replace all relative imports

Changeset 24b21b62f1d5

Parent 37792d6a7d99

by Steve Borho

Changes to one file · Browse files at 24b21b62f1d5 Showing diff from parent 37792d6a7d99 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​rename.py Stacked
 
13
14
15
 
 
16
17
18
 
20
21
22
23
24
25
26
27
28
29
30
 
31
32
33
 
13
14
15
16
17
18
19
20
 
22
23
24
 
25
26
27
28
29
30
 
31
32
33
34
@@ -13,6 +13,8 @@
 from thgutil.i18n import _  from thgutil import hglib, paths   +from hggtk import dialog +  def run(ui, *pats, **opts):   fname, target = '', ''   try: @@ -20,14 +22,13 @@
  target = pats[1]   except IndexError:   pass - from dialog import entry_dialog   fname = util.normpath(fname)   if target:   target = hglib.toutf(util.normpath(target))   else:   target = hglib.toutf(fname)   title = 'Rename ' + hglib.toutf(fname) - dlg = entry_dialog(None, title, True, target, rename_resp) + dlg = dialog.entry_dialog(None, title, True, target, rename_resp)   dlg.orig = fname   return dlg