Use revset to calculate rev list.
When using obsolescence markers, the rev numbers are not a continuous range.
This patch uses revset expressions to find the LOG_PAGE_LEN previous accessible
revisions and calculate older and newer links.
author |
Christophe de Vienne <cdevienne@gmail.com> |
date |
Mon, 27 Oct 2014 18:42:14 +0100 |
parents |
96afc843f1a7 |
children |
(none) |
from mercurial import encoding
def tolocal(s):
return encoding.tolocal(s.encode('UTF-8'))
def fromlocal(s):
return s.decode(encoding.encoding, 'replace')