mercurial/templates/map-cmdline.phases
author Yuya Nishihara <yuya@tcha.org>
Fri, 19 Aug 2016 18:26:04 +0900
changeset 32684 af854b1b36f8
parent 24907 9570587b6986
child 34714 f4aeb952ab77
permissions -rw-r--r--
revlog: add support for partial matching of wdir node id The idea is simple. If the given node id prefix is 'ff...f', add +1 to the number of matches (e.g. ambiguous if partial + maybewdir > 1). This patch also fixes id() revset and shortest() template since _partialmatch() can raise WdirUnsupported exception.

%include map-cmdline.default
changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n'
changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n'