1. 10 Nov, 2019 2 commits
  2. 03 Nov, 2019 2 commits
    • Sushil Khanchi's avatar
      evolve: remove a check which is already done by rewriteutil.precheck() · 9d05eb69cd05
      Sushil Khanchi authored
      We have tests to check if fold is being performed on public cset.
      There is no changes in test files because testing that never touched
      the part this patch removes, and already caught in rewriteutil.precheck()
      9d05eb69cd05
    • Sushil Khanchi's avatar
      evolve: add pre-check logic for content-divergence in rewriteutil.precheck() · 39d282fd04e0
      Sushil Khanchi authored
      For now, pre-check will abort if rewriting a rev create divergence (and
      config experimental.evolution.allowdivergence is not set to True).
      But this behaviour can be improved where instead of abort maybe we
      can confirm the user to either proceed with divergence or some other
      options depends on what command user is running.
      
      Changes in test file are used to overrides the pre-check for testing
      purpose (using experimental.evolution.allowdivergence=yes).
      39d282fd04e0
  3. 20 Dec, 2019 2 commits
  4. 19 Dec, 2019 3 commits
  5. 09 Dec, 2019 4 commits
  6. 06 Nov, 2019 1 commit
    • Sushil Khanchi's avatar
      evolve: extract logic of pre-checking divergence risk to its own function · f583d9eedbce
      Sushil Khanchi authored
      Extracting the logic (which is used to check if rewriting an obsolete
      revision will create divergence) to a function. This function will be used
      in upcoming patches of pre-checking.
      
      This is how we check if rewriting an obsolete revision will create
      divergence. We need to check two cases:
      If there is any
      1)  non-obsolete successor.
            -> easily done by `obsutil.successorssets()`
      2)  precursor with non-obsolete successor.
            -> using `evolvecmd.divergentsets()`
      f583d9eedbce
  7. 26 Dec, 2019 2 commits
  8. 20 Dec, 2019 4 commits
  9. 10 Dec, 2019 3 commits
  10. 01 Dec, 2019 1 commit
  11. 26 Dec, 2019 3 commits
  12. 28 Nov, 2019 2 commits
  13. 27 Nov, 2019 1 commit
  14. 20 Dec, 2019 2 commits
  15. 19 Dec, 2019 1 commit
  16. 20 Dec, 2019 1 commit
  17. 27 Nov, 2019 3 commits
  18. 25 Nov, 2019 2 commits
  19. 12 Dec, 2019 1 commit