Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

hggtk/history: set cwd immediately at startup

Prevents errors when filters are provided on the command line causing
searches to be performed by prepare_display().

Changeset 7fc531be794a

Parent 2a1693b4e5ab

by Steve Borho

Changes to one file · Browse files at 7fc531be794a Showing diff from parent 2a1693b4e5ab Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​history.py Stacked
 
191
192
193
 
194
195
196
 
191
192
193
194
195
196
197
@@ -191,6 +191,7 @@
  self.curfile = None   self.opts['rev'] = [] # This option is dangerous - used directly by hg   self.opts['revs'] = None + self.restore_cwd() # paths relative to repo root do not work otherwise     if 'filehist' in self.opts:   self.custombutton.set_active(True)