Mercurial > hg
diff tests/test-bookmarks-current.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 | b59c2c8c45df |
children | 390a10b7843b |
line wrap: on
line diff
--- a/tests/test-bookmarks-current.t Thu May 28 20:03:42 2015 -0700 +++ b/tests/test-bookmarks-current.t Thu May 28 20:06:19 2015 -0700 @@ -69,7 +69,7 @@ * Y 0:719295282060 Z -1:000000000000 -Verify that switching to Z updates the current bookmark: +Verify that switching to Z updates the active bookmark: $ hg update Z 0 files updated, 0 files merged, 1 files removed, 0 files unresolved (activating bookmark Z) @@ -118,7 +118,7 @@ * Y 0:719295282060 Z 0:719295282060 -deactivate current bookmark using -i +deactivate active bookmark using -i $ hg bookmark -i Y $ hg bookmarks @@ -137,7 +137,7 @@ * Y 0:719295282060 Z 0:719295282060 -deactivate current bookmark while renaming +deactivate active bookmark while renaming $ hg bookmark -i -m Y X $ hg bookmarks