Mercurial > hg
diff mercurial/commands.py @ 39370:46f3ff64bea7
status: rename {copy} to {source} for compatibility with {file_copies} (BC)
.. bc::
``{copy}`` in status command template is renamed to ``{source}``.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 05 Aug 2018 16:51:25 +0900 |
parents | 34ba47117164 |
children | 5d00e6061ba2 |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Aug 05 16:44:16 2018 +0900 +++ b/mercurial/commands.py Sun Aug 05 16:51:25 2018 +0900 @@ -5191,7 +5191,7 @@ fm.condwrite(showchar, 'status', '%s ', char, label=label) fm.plain(fmt % repo.pathto(f, cwd), label=label) if f in copy: - fm.data(copy=copy[f]) + fm.data(source=copy[f]) fm.plain((' %s' + end) % repo.pathto(copy[f], cwd), label='status.copied')