I using successfully the following setting in linux 
[hooks]
changegroup.diffstat=hg diff --stat -r "p1($HG_NODE)" -r 
"max(descendants($HG_NODE))"
outgoing=hg diff --stat -r "p1($HG_NODE)" -r "max(descendants($HG_NODE))"


With various mercurial versions since several years.

Now a windows user put the same setting in his mercurial.ini file

But then running 
hg fetch (yes fetch not pull)

He received


pulling from 
https://diegfe03802899@helixteamhub.cloud/broad-rain-1388/projects/tfg-2025/repositories/mercurial/TFG-2025-Pena
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 3 changes to 3 files
new changesets 4915a043abd8
3 files updated, 0 files merged, 0 files removed, 0 files unresolved
hg: parse error at 3: syntax error in revset 'p1($HG_NODE)'
(p1($HG_NODE)
    ^ here)
warning: changegroup.diffstat hook exited with status 255

He is using mercurial 6.3.1 precompiled for Windows

Is this a well known bug?

Uwe Brauer 


-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to