stack: order the adjective of changeset
The new order give more interesting result:
* base current
* base unstable
* current unstable
It seems more harmonious this way. Base seems the most core and immutable
adjective describing the element. Then current is a volatile but important one.
Finally, unstable is less information than current, so it goes last.
============================================Testingobsolescencemarkerspush:CasesB.2============================================Mercurialpushesobsolescencesmarkersrelevanttothe"pushed-set",thesetofallchangesetsthatrequestedtobe"in sync"afterthepush(eveniftheyarealreadyonbothside).Thistestbelongstoaseriesoftestscheckingsuchsetisproperlycomputedandapplied.Thisdoesnottests"obsmarkers"discoverycapabilities.CategoryB:pruningcaseTestCase2:PruneontargetedcommonchangesetVariants:# a: explicite push# b: bare pushB.2Prunedchangesetonhead:nothingpushed============================================..{{{..⊗A..|..●O..}}}....Markerexistfrom:....*A(prune)....Commandrun:....*hgpush-rO..*hgpush....Expectedexchange:....*prunemarkerforASetup-----$.$TESTDIR/testlib/exchange-obsmarker-util.shInitial$setupreposB.2creatingtestrepofortestcaseB.2-pulldest-main-pushdestcdinto`main`andproceedwithenvsetup$cdmain$mkcommitA$hgprune-qd'0 0'.$hglog-G--hiddenxf5bc6836db60(draft):A|@a9bdc8b26820(public):O$inspect_obsmarkersobsstorecontent================f5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob)obshashtree===========a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc0462d86865fd15a1e1b0ef16ebb9cb851689032dd8f5bc6836db60e308a17ba08bf050154ba9c4fad76e3ba325674c3b035b63ec3db449ad2853a18372obshashrange============revnodeindexsizedepthobshash0a9bdc8b2682001162d86865fd15$cd..$cd..$cp-RB.2B.2.a$cp-RB.2B.2.bActualTest(explicitpushversion)-----------------------------------$dotestB.2.aO##RunningtestcaseB.2.a # testing echange of "O" (a9bdc8b26820) ## initial state # obstore: mainf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pushdest # obstore: pulldest ## pushing "O" from main to pushdestpushingtopushdestsearchingforchangesnochangesfoundremote:1newobsolescencemarkers##postpushstate#obstore:mainf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pushdestf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pulldest ## pulling "a9bdc8b26820" from main into pulldestpullingfrommainnochangesfound1newobsolescencemarkers##postpullstate#obstore:mainf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pushdestf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pulldestf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob)ActualTest(barepushversion)-----------------------------------$dotestB.2.b ## Running testcase B.2.b ## initial state # obstore: mainf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pushdest # obstore: pulldest ## pushing from main to pushdestpushingtopushdestsearchingforchangesnochangesfoundremote:1newobsolescencemarkers##postpushstate#obstore:mainf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pushdestf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pulldest ## pulling from main into pulldestpullingfrommainsearchingforchangesnochangesfound1newobsolescencemarkers##postpullstate#obstore:mainf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pushdestf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob) # obstore: pulldestf5bc6836db60e308a17ba08bf050154ba9c4fad70{a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04}(*){'ef1':'*','user':'test'}(glob)