changeset 104:6e423f7c784f

ancestor: fix incorrect reference to 'n2'
author Francisco Figueirido <francisco@giantclam.net>
date Thu, 01 Mar 2012 23:16:07 -0500
parents e5d3b0aa48e6
children 86ff8611a8fa
files hglib/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hglib/context.py	Tue Jan 17 17:15:47 2012 -0600
+++ b/hglib/context.py	Thu Mar 01 23:16:07 2012 -0500
@@ -205,4 +205,4 @@
         """
         return the ancestor context of self and c2
         """
-        return changectx(self._repo, 'ancestor(%s, %s)' % (self, n2))
+        return changectx(self._repo, 'ancestor(%s, %s)' % (self, c2))