changeset 51148:1dd01023649d stable

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.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 02 Dec 2023 00:34:44 -0500
parents 4ed9efb25bc7
children e2632d9d1b6e
files tests/test-tags.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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