# HG changeset patch # User Anton Shestakov # Date 1630772577 -10800 # Node ID 97aa9afe71a0560f1f7dd8050df5ae440f5b3758 # Parent 9e27494ac6189fafd3606031875768ab18db5625 obshistory: remove 4.6 compat in handling obsmarker_printer diffopts diff -r 9e27494ac618 -r 97aa9afe71a0 hgext3rd/evolve/obshistory.py --- a/hgext3rd/evolve/obshistory.py Sat Sep 04 19:21:40 2021 +0300 +++ b/hgext3rd/evolve/obshistory.py Sat Sep 04 19:22:57 2021 +0300 @@ -265,11 +265,7 @@ super(obsmarker_printer, self).__init__(ui, repo, *args, **kwargs) diffopts = kwargs.get('diffopts', {}) - - # hg <= 4.6 (3fe1c9263024) - if not util.safehasattr(self, "_includediff"): - self._includediff = diffopts and diffopts.get(b'patch') - + self._includediff = diffopts and diffopts.get(b'patch') self.template = diffopts and diffopts.get(b'template') self.filter = diffopts and diffopts.get(b'filternonlocal') self.origin = diffopts and diffopts.get(b'origin')