diff tests/test-command-template.t @ 25348:f26efa4f0eff

templatekw: introduce active subkeyword from bookmarks keyword 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.
author Ryan McElroy <rmcelroy@fb.com>
date Thu, 28 May 2015 20:03:42 -0700
parents 7e5d5160073b
children 62da2d7745f9
line wrap: on
line diff
--- a/tests/test-command-template.t	Thu Apr 16 15:18:59 2015 -0700
+++ b/tests/test-command-template.t	Thu May 28 20:03:42 2015 -0700
@@ -3086,7 +3086,7 @@
 
   $ hg book foo
   $ hg book bar
-  $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, current, \"*\")} '}\n"
+  $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n"
   2 bar* foo 
   1 
   0