comparison tests/test-command-template.t @ 25349:62da2d7745f9

commands: rename current to active in variables and comments 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:06:19 -0700
parents f26efa4f0eff
children ef8956aa8755
comparison
equal deleted inserted replaced
25348:f26efa4f0eff 25349:62da2d7745f9
3080 Ancestor: 1 3080 Ancestor: 1
3081 3081
3082 Rev: 0 3082 Rev: 0
3083 Ancestor: 0 3083 Ancestor: 0
3084 3084
3085 Test current bookmark templating 3085 Test active bookmark templating
3086 3086
3087 $ hg book foo 3087 $ hg book foo
3088 $ hg book bar 3088 $ hg book bar
3089 $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n" 3089 $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n"
3090 2 bar* foo 3090 2 bar* foo