tests: avoid a cascading failure on Windows
The `identify --debug` command here on Windows emits
skip updating dirstate: identity mismatch
because of the debug switch, which got captured and added to `.hgtags`, and then
hijinx ensued. The point of `--debug` seemed to be to get the long hash, so
just do that with templating. I have not idea if the message is indicating a
problem- there seems to be many more of them in other tests that are not present
on Linux.
--- a/tests/test-tags.t Fri Dec 01 23:58:12 2023 -0500
+++ b/tests/test-tags.t Sat Dec 02 00:34:44 2023 -0500
@@ -72,7 +72,7 @@
Create local tag with long name:
- $ T=`hg identify --debug --id`
+ $ T=`hg identify -r . -T '{node}'`
$ hg tag -l "This is a local tag with a really long name!"
$ hg tags
tip 0:acb14030fe0a