Changeset cf86c3624aa1…
Parent e040756219ba…
by
Changes to one file · Browse files at cf86c3624aa1 Showing diff from parent e040756219ba Diff from another changeset...
@@ -172,27 +172,27 @@ color = self.color_func(revid, author)
if revid in self.wcparents:
sumstr = bstr + tstr + '<b><u>' + summary + '</u></b>'
+ status = 4
else:
sumstr = bstr + tstr + summary
+ status = 0
if node in self.outgoing:
+ # outgoing
if not self.showgraph:
marker = hglib.toutf(u'\u2191 ') # up arrow
sumstr = marker + sumstr
- status = 1
+ status += 1
elif revid >= self.origtip:
if revid >= len(self.repo) - self.npreviews:
+ # incoming
if not self.showgraph:
marker = hglib.toutf(u'\u2193 ') # down arrow
sumstr = marker + sumstr
- status = 3
+ status += 3
else:
- status = 2
- else:
- status = 0
-
- if revid in self.wcparents:
- status += 4
+ # new
+ status += 2
revision = (sumstr, author, taglist, color, age, status)
self.revisions[revid] = revision
|
Loading...