diff mercurial/templater.py @ 24337:696ab1a24ae0

templater: replace 'ctx._repo' with 'ctx.repo()'
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 12 Mar 2015 23:11:15 -0400
parents 6ddc86eedc3b
children 90e3f5d22dad
line wrap: on
line diff
--- a/mercurial/templater.py	Thu Mar 12 23:08:16 2015 -0400
+++ b/mercurial/templater.py	Thu Mar 12 23:11:15 2015 -0400
@@ -391,7 +391,7 @@
 
     raw = args[0][1]
     ctx = mapping['ctx']
-    repo = ctx._repo
+    repo = ctx.repo()
 
     def query(expr):
         m = revsetmod.match(repo.ui, expr)