Mercurial > hg
comparison tests/test-git-import @ 10060:f780b1098efc
templatekw: change {file_copies} behaviour, add {file_copies_switch}
{file_copies} template now displays file copies with or without the --copies
switch being set. A new {file_copies_switch} template implements the former
behaviour.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 13 Dec 2009 18:06:24 +0100 |
parents | 477136fa6571 |
children | 9e2ab10728a2 |
comparison
equal
deleted
inserted
replaced
10059:9dd4e2859482 | 10060:f780b1098efc |
---|---|
139 rename to rename3 | 139 rename to rename3 |
140 diff --git a/rename2 b/rename3-2 | 140 diff --git a/rename2 b/rename3-2 |
141 rename from rename2 | 141 rename from rename2 |
142 rename to rename3-2 | 142 rename to rename3-2 |
143 EOF | 143 EOF |
144 hg log -vCr. --template '{rev} {files} / {file_copies%filecopy}\n' | 144 hg log -vr. --template '{rev} {files} / {file_copies%filecopy}\n' |
145 | 145 |
146 hg locate rename2 rename3 rename3-2 | 146 hg locate rename2 rename3 rename3-2 |
147 hg cat rename3 | 147 hg cat rename3 |
148 echo | 148 echo |
149 hg cat rename3-2 | 149 hg cat rename3-2 |