mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
6c7c4762ec
This is the beginning of a wip/smartlog view. It is basically a manually constructed (read: fast) revset function to collect "relevant" changesets combined with a custom template and a graph displayer. It obviously needs a lot of work. I'd like to get *something* usable in 4.2 so `hg show` has some value to end-users. Let the bikeshedding begin.
4 lines
294 B
Plaintext
4 lines
294 B
Plaintext
# TODO add label() once we figure out which namespace the labels belong on.
|
|
showbookmarks = '{if(active, "*", " ")} {pad(bookmark, longestbookmarklen + 4)}{shortest(node, 5)}\n'
|
|
showunderway = '{shortest(node, 5)}{if(branches, " ({branch})")}{if(bookmarks, " ({bookmarks})")} {desc|firstline}'
|