mercurial/templates/map-cmdline.phases
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 15 Sep 2016 10:18:56 -0700
changeset 29955 e7acbe538baf
parent 24907 9570587b6986
child 34714 f4aeb952ab77
permissions -rw-r--r--
strip: simplify some repeated conditions We check "if saveheads or savebases" in several places to see if we should or have created a bundle of the changesets to apply after truncating the revlogs. One of the conditions is actually just "if saveheads", but since there can't be savebases without saveheads, that is effectively the same condition. It seems simpler to check only once and from then on see if we created the file.

%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'