diff mercurial/templates/map-cmdline.default @ 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
line wrap: on
line diff
--- a/mercurial/templates/map-cmdline.default	Sun Aug 05 16:44:16 2018 +0900
+++ b/mercurial/templates/map-cmdline.default	Sun Aug 05 16:51:25 2018 +0900
@@ -74,7 +74,7 @@
                                 {label('ui.note log.description',
                                        '{desc|strip}')}\n\n")}'
 
-status = '{status} {path|relpath}\n{if(copy, "  {copy|relpath}\n")}'
+status = '{status} {path|relpath}\n{if(source, "  {source|relpath}\n")}'
 
 # Obsfate templates, it would be removed once we introduce the obsfate
 # template fragment