Mercurial > hg-stable
diff tests/test-command-template.t @ 18715:c4ff927b6f68
templater: properly handle file_copies with %
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 22 Feb 2013 13:45:46 -0600 |
parents | 3b1005354440 |
children | 0615b22da148 |
line wrap: on
line diff
--- a/tests/test-command-template.t Mon Feb 18 13:21:27 2013 -0600 +++ b/tests/test-command-template.t Fri Feb 22 13:45:46 2013 -0600 @@ -43,6 +43,9 @@ $ hg mv second fourth $ hg commit -m third -d "2020-01-01 10:01" + $ hg log --template '{file_copies % "{source} -> {name}\n"}' -r . + second -> fourth + Quoting for ui.logtemplate $ hg tip --config "ui.logtemplate={rev}\n"