# HG changeset patch # User Matt Harbison # Date 1701495284 18000 # Node ID 1dd01023649df67396ad15fbb38c45400c471206 # Parent 4ed9efb25bc7449b32398f2e772d5d872cab5fde 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. diff -r 4ed9efb25bc7 -r 1dd01023649d tests/test-tags.t --- 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