Displaying template "file_copies" keyword without --copies

Greg Ward greg-hg at gerg.ca
Fri Dec 11 14:12:33 CST 2009

On Thu, Dec 10, 2009 at 3:59 PM, Patrick Mézard <pmezard at gmail.com> wrote:
>> 4- Have two variables: one that matches the current behavior (and name)
>> and one that always shows copies?
> Not easy to come up with an elegant name. At least, it should draw the attention on {file_copies} special behaviour.
> {file_copies_forced}
> {file_copies_always}
> {file_copyrecords}
> ?

I like {file_copies_always}, or maybe {filecopies_always}, which
nudges it closer to normal hg "no underscores" usage, while leaving in
one underscore which maybe sort-of hints that the "always" is weird.
Specifically, it's not about content, but about behaviour: this is a
hack for backwards compatibility.  Documenting this concisely will be


More information about the Mercurial-devel mailing list