Mercurial > hg-stable
changeset 4714:a741293793f6
Make changeset_printer respect ui diffopts
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 25 Jun 2007 11:29:17 -0700 |
parents | c29ee52e0b68 |
children | ad45209a7c7a |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Mon Jun 25 11:13:27 2007 -0700 +++ b/mercurial/cmdutil.py Mon Jun 25 11:29:17 2007 -0700 @@ -784,7 +784,8 @@ def showpatch(self, node): if self.patch: prev = self.repo.changelog.parents(node)[0] - patch.diff(self.repo, prev, node, match=self.patch, fp=self.ui) + patch.diff(self.repo, prev, node, match=self.patch, fp=self.ui, + opts=patch.diffopts(self.ui)) self.ui.write("\n") class changeset_templater(changeset_printer):