Mercurial > hg > trac > jungle > src > mercurial-plugin
changeset 14:89d0599cbded 0.12
#10719: don't use follow mode for file log, for Mercurial version >= 2.1.1
author | Christian Boos <cboos@edgewall.org> |
---|---|
date | Thu, 14 Jun 2012 11:04:22 +0200 |
parents | 45f04cd0ada8 |
children | fe49850212ce |
files | tracext/hg/backend.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)