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

synch: replace all relative imports

Changeset 229dec8ef9a6

Parent f08b0f0b93f3

by Steve Borho

Changes to one file · Browse files at 229dec8ef9a6 Showing diff from parent f08b0f0b93f3 Diff from another changeset...

Change 1 of 4 Show Entire File hggtk/​synch.py Stacked
 
17
18
19
20
 
21
22
23
 
301
302
303
304
305
306
307
 
308
309
310
 
449
450
451
452
453
 
454
455
456
 
475
476
477
478
479
 
480
481
482
 
17
18
19
 
20
21
22
23
 
301
302
303
 
304
305
 
306
307
308
309
 
448
449
450
 
 
451
452
453
454
 
473
474
475
 
 
476
477
478
479
@@ -17,7 +17,7 @@
 from thgutil.i18n import _  from thgutil import hglib, shlib, paths   -from hggtk import dialog, gtklib, hgthread +from hggtk import dialog, gtklib, hgthread, history, thgconfig, hgemail    class SynchDialog(gtk.Window):   def __init__(self, repos=[], pushmode=False): @@ -301,10 +301,9 @@
  self.repo = repo     def _view_pulled_changes(self, button): - from history import GLog   countpulled = len(self.repo.changelog) - self.origchangecount   opts = {'limit' : countpulled, 'from-synch' : True} - dlg = GLog(self.ui, None, None, [], opts) + dlg = history.GLog(self.ui, None, None, [], opts)   dlg.display()     def _update_to_tip(self, button): @@ -449,8 +448,7 @@
  if path == newpath:   newpath = None   break - from thgconfig import ConfigDialog - dlg = ConfigDialog(True) + dlg = thgconfig.ConfigDialog(True)   dlg.show_all()   if newpath:   dlg.new_path(newpath) @@ -475,8 +473,7 @@
  return   if rev:   opts.extend(rev) - from hgemail import EmailDialog - dlg = EmailDialog(self.root, opts) + dlg = hgemail.EmailDialog(self.root, opts)   dlg.set_transient_for(self)   dlg.show_all()   dlg.present()