templater: rename parsestring() to unquotestring() (API)
Since
db7463aa080f, it doesn't parse string escapes.
templater: remove noop calls of parsestring(s, quoted=False) (API)
Since
db7463aa080f, parsestring(s, quoted=False) just returns s.
bookmarks: simplify iscurrent to isactivewdirparent (API)
Previously this function accepted two optional parameters that were unused by
any callers and complicated the function.
Today, the terms 'active' and 'current' are interchangeably used throughout the
codebase in reference to the active bookmark (the bookmark that will be updated
with the next commit). This leads to confusion among developers and users.
This patch is part of a series to standardize the usage to 'active' throughout
the mercurial codebase and user interface.
tests: add a new commit to test-commandline-template
This commit modifies, adds, renames, removes files all at once. It
will be mostly interesting for an upcoming test relating to the status
log template.
run-tests: spread and document the content of time tuple
The spreading will make future modification clearer. The documentation improve
code readability.
run-tests: when building json, get time data in the same order as elsewhere
The json code was changing the order of the time tuple for unclear reasons. We
now use the same order as everywhere else.