Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1, 1.1.1, and 1.1.2

commit: adapt to cmdutil.export API change in mercurial

fixes #1054

See the post-1.5 mercurial change

changeset: 10611:e764f24a45ee
user: Benoit Boissinot <...>
date: Mon Mar 08 19:43:24 2010 +0100
summary: patch/diff: move patch.export() to cmdutil.export()

Changeset 17b7fa51cd63

Parent 6bb085aaeda8

by Adrian Buehlmann

Changes to one file · Browse files at 17b7fa51cd63 Showing diff from parent 6bb085aaeda8 Diff from another changeset...

 
828
829
830
831
 
832
833
834
 
828
829
830
 
831
832
833
834
@@ -828,7 +828,7 @@
  revs = cmdutil.revrange(self.repo, ['tip'])   fp = cStringIO.StringIO()   opts = patch.diffopts(self.ui, self.opts) - patch.export(self.repo, revs, fp=fp, opts=opts) + cmdutil.export(self.repo, revs, fp=fp, opts=opts)   text = fp.getvalue().splitlines(True)   buf = self.diff_highlight_buffer(text)   self.patch_text.set_buffer(buf)