Mercurial > python-hglib
comparison 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 |
comparison
equal
deleted
inserted
replaced
103:e5d3b0aa48e6 | 104:6e423f7c784f |
---|---|
203 | 203 |
204 def ancestor(self, c2): | 204 def ancestor(self, c2): |
205 """ | 205 """ |
206 return the ancestor context of self and c2 | 206 return the ancestor context of self and c2 |
207 """ | 207 """ |
208 return changectx(self._repo, 'ancestor(%s, %s)' % (self, n2)) | 208 return changectx(self._repo, 'ancestor(%s, %s)' % (self, c2)) |