diff hglib/context.py @ 104:6e423f7c784f

ancestor: fix incorrect reference to 'n2'
author Francisco Figueirido <francisco@giantclam.net>
date Thu, 01 Mar 2012 23:16:07 -0500
parents 2b36619ec0a0
children c635e6e7054f
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))