Mercurial > hg-stable
diff tests/test-update-branches.t @ 49480:cdfba684b6a1
status: include `repo` in template context also for resolved paths
The `repo` object needs to be in the templater context when using
e.g. `relpath`. It has been missing there since it was the unresolved
files were added to the templated output in 07ebb567e8bb.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 12 Aug 2022 14:35:34 -0700 |
parents | fbf7e383e961 |
children |
line wrap: on
line diff
--- a/tests/test-update-branches.t Wed Aug 24 15:15:04 2022 -0400 +++ b/tests/test-update-branches.t Fri Aug 12 14:35:34 2022 -0700 @@ -633,6 +633,10 @@ # # To mark files as resolved: hg resolve --mark FILE + $ hg status -T '{status} {path} - {relpath(path)}\n' + M foo - foo + a - a + $ hg status -Tjson [ {