##// END OF EJS Templates
hgweb: fix navigation label (issue3792)...
Pierre-Yves David -
r18503:7f769d3a stable
parent child Browse files
Show More
@@ -91,9 +91,9 b' class revnav(object):'
91 if rev not in self._revlog:
91 if rev not in self._revlog:
92 continue
92 continue
93 if pos < rev < limit:
93 if pos < rev < limit:
94 navafter.append(("+%d" % f, self.hex(rev)))
94 navafter.append(("+%d" % abs(rev - pos), self.hex(rev)))
95 if 0 < rev < pos:
95 if 0 < rev < pos:
96 navbefore.append(("-%d" % f, self.hex(rev)))
96 navbefore.append(("-%d" % abs(rev - pos), self.hex(rev)))
97
97
98
98
99 navafter.append(("tip", "tip"))
99 navafter.append(("tip", "tip"))
General Comments 0
You need to be logged in to leave comments. Login now