# HG changeset patch # User Christian Boos # Date 1339664662 -7200 # Node ID 89d0599cbded8e1376e9ff8bcc670ce5c3385f23 # Parent 45f04cd0ada87984120e378b1964ee9f261d8126 #10719: don't use follow mode for file log, for Mercurial version >= 2.1.1 diff -r 45f04cd0ada8 -r 89d0599cbded tracext/hg/backend.py --- a/tracext/hg/backend.py Mon Sep 17 11:54:00 2012 +0200 +++ b/tracext/hg/backend.py Thu Jun 14 11:04:22 2012 +0200 @@ -1047,7 +1047,7 @@ if self.str_path: pats.append('path:' + self.str_path) opts = {'rev': ['%s:0' % self.changectx.hex()]} - if self.isfile: + if self.isfile and self.repos.version_info < (2, 1, 1): opts['follow'] = True if arity(cmdutil.walkchangerevs) == 4: return self._get_history_1_4(repo, pats, opts, limit)