# HG changeset patch # User Pierre-Yves David # Date 1731339676 -3600 # Node ID 7c1d7edff91b13fd6f7f6c7a423a4328401e7cb7 # Parent 2cdd3e85abf79072d5e98ef8d417fa833bf5223d windows: work around argument size limitation in test-bookmarks-pushpull.t Apparently, we need to got through MSYS for such a long argument to be accepted. diff -r 2cdd3e85abf7 -r 7c1d7edff91b tests/test-bookmarks-pushpull.t --- a/tests/test-bookmarks-pushpull.t Mon Nov 11 12:52:53 2024 +0100 +++ b/tests/test-bookmarks-pushpull.t Mon Nov 11 16:41:16 2024 +0100 @@ -1155,20 +1155,21 @@ =============================================== #if b2-binary +(use `sh -c` as Windows struggle with the long argument) >>> with open('longname', 'w') as f: ... f.write('wat' * 100) and None - $ hg book `cat longname` - $ hg push -B `cat longname` ../unchanged-b + $ sh -c "hg book `cat longname`" + $ sh -c "hg push -B `cat longname` ../unchanged-b" pushing to ../unchanged-b searching for changes no changes found exporting bookmark (wat){100} (re) [1] - $ hg -R ../unchanged-b book --delete `cat longname` + $ sh -c "hg -R ../unchanged-b book --delete `cat longname`" Test again but forcing bundle2 exchange to make sure that doesn't regress. - $ hg push -B `cat longname` ../unchanged-b --config devel.legacy.exchange=bundle1 + $ sh -c "hg push -B `cat longname` ../unchanged-b --config devel.legacy.exchange=bundle1" pushing to ../unchanged-b searching for changes no changes found