[PATCH hglib] Fixed incorrect reference to 'n2' in ancestor()

Francisco Figueirido francisco at giantclam.net
Thu Mar 1 22:56:36 CST 2012


# HG changeset patch
# User Francisco Figueirido <francisco at giantclam.net>
# Date 1330661767 18000
# Node ID f75045139d1ac18c3ff3662919c7a5a294b810b4
# Parent  e5d3b0aa48e6ab79531204f61e25ee335b306df3
Fixed incorrect reference to 'n2' in ancestor()

diff -r e5d3b0aa48e6 -r f75045139d1a hglib/context.py
--- 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))


More information about the Mercurial-devel mailing list