Changeset 12e5e2d8650d…
Parent 496186a1506a…
by
Changes to 2 files · Browse files at 12e5e2d8650d Showing diff from parent 496186a1506a Diff from another changeset...
@@ -254,7 +254,7 @@ self.graphview.set_property('original-tip-revision', origtip)
self.origtip = origtip
- if 'orig-tip' in self.opts:
+ if self.opts.get('orig-tip') is not None:
origtip = self.opts['orig-tip']
if origtip != len(self.repo):
self.origtip = origtip
@@ -823,12 +823,13 @@ return True
def run(ui, *pats, **opts):
- limit = opts.get('limit')
cmdoptions = {
'follow':False, 'follow-first':False, 'copies':False, 'keyword':[],
- 'limit':limit, 'rev':[], 'removed':False, 'no_merges':False,
+ 'limit':0, 'rev':[], 'removed':False, 'no_merges':False,
'date':None, 'only_merges':None, 'prune':[], 'git':False,
- 'verbose':False, 'include':[], 'exclude':[]
+ 'verbose':False, 'include':[], 'exclude':[], 'from-synch':False,
+ 'orig-tip':None
}
+ cmdoptions.update(opts)
pats = hglib.canonpaths(pats)
return GLog(ui, None, None, pats, cmdoptions)
|
@@ -332,7 +332,7 @@
def _view_pulled_changes(self, button):
opts = {'orig-tip' : self.origchangecount, 'from-synch' : True}
- dlg = history.GLog(self.ui, None, None, [], opts)
+ dlg = history.run(self.ui, **opts)
dlg.display()
def _update_to_tip(self, button):
|
Loading...