##// END OF EJS Templates
Make changeset_printer respect ui diffopts
Benoit Boissinot -
r4714:a7412937 default
parent child Browse files
Show More
@@ -784,7 +784,8 class changeset_printer(object):
784 def showpatch(self, node):
784 def showpatch(self, node):
785 if self.patch:
785 if self.patch:
786 prev = self.repo.changelog.parents(node)[0]
786 prev = self.repo.changelog.parents(node)[0]
787 patch.diff(self.repo, prev, node, match=self.patch, fp=self.ui)
787 patch.diff(self.repo, prev, node, match=self.patch, fp=self.ui,
788 opts=patch.diffopts(self.ui))
788 self.ui.write("\n")
789 self.ui.write("\n")
789
790
790 class changeset_templater(changeset_printer):
791 class changeset_templater(changeset_printer):
General Comments 0
You need to be logged in to leave comments. Login now