mercurial/templates/map-cmdline.show
author Denis Laxalde <denis@laxalde.org>
Thu, 22 Jun 2017 11:16:29 +0200
changeset 33009 d8b40230c8e8
parent 32059 0ea1d9a750da
child 33058 11f768258dcc
permissions -rw-r--r--
tests: update regex check for fetch error in test-clonebundles.t On some systems, e.g. Docker container, the actual error may be: error fetching bundle: [Errno 99] Cannot assign requested address Update the regex to handle this case.

# TODO there are a few deficiencies in this file:
# * Due to the way the file is loaded, references to other entities in the
#   template doesn't work. That requires us to inline.
# * The "namespace" of the labels needs to be worked out. We currently
#   piggyback on existing values so color works.
# * Obsolescence isn't considered for node labels. See _cset_labels in
#   map-cmdline.default.
showbookmarks = '{if(active, "*", " ")} {pad(bookmark, longestbookmarklen + 4)}{shortest(node, 5)}\n'
showwork = '{label("log.changeset changeset.{phase}", shortest(node, 5))}{if(branches, " ({label("log.branch", branch)})")}{if(bookmarks, " ({label("log.bookmarks", bookmarks)})")} {label("log.description", desc|firstline)}'