Skip to content
  • Pierre-Yves David's avatar
    obsolescence: add test case B-2 for obsolescence markers exchange · c8e5370ab4ba
    Pierre-Yves David authored
    About 3 years ago, in August 2014, the logic to select what markers to select on
    push was ported from the evolve extension to Mercurial core. However, for some
    unclear reasons, the tests for that logic were not ported alongside.
    I realised it a couple of weeks ago while working on another push related issue.
    I've made a clean up pass on the tests and they are now ready to integrate the
    core test suite. This series of changesets do not change any logic. I just adds
    test for logic that has been around for about 10 versions of Mercurial.
    
    They are a patch for each test case. It makes it easier to review and postpone
    one with documentation issues without rejecting the wholes series.
    
    This patch introduce case B-2: Prune on targeted common changeset
    
    Each test case comes it in own test file. It help parallelism and does not
    introduce a significant overhead from having a single unified giant test file.
    Here are timing  to support this claim.
    
    # M...
    c8e5370ab4ba