Skip to content
Snippets Groups Projects
  1. Jul 26, 2020
  2. Jul 28, 2020
  3. Jul 23, 2020
    • Pierre-Yves David's avatar
      push: test for checks preventing publishing obsolete changeset · 559ebfb5
      Pierre-Yves David authored
      The main difference from the previous test is how the changeset was obsoleted.
      In this case it is an amend so publishing the orphan would also create phase
      divergence. This must not go unnoticed.
      559ebfb5
    • Pierre-Yves David's avatar
      push: test for checks preventing publishing obsolete changeset · 5ff77aab
      Pierre-Yves David authored
      This introduce a simple example, more are coming. See inline documentation
      for details.
      5ff77aab
    • Pierre-Yves David's avatar
      push: another test for checks preventing pushing orphaness to a server · fc751824
      Pierre-Yves David authored
      In this one, orphan was create with and amend instead of a prune.
      fc751824
    • Pierre-Yves David's avatar
      push: test the checks preventing pushing orphaness to a server · 187cc478
      Pierre-Yves David authored
      This is introduce a simple example, more are coming. See inline documentation
      for details.
      187cc478
    • Pierre-Yves David's avatar
      exchange: backout changeset c26335fa4225 · 6063c185
      Pierre-Yves David authored
      Changeset c26335fa4225 has good intends but introduce significant behavior
      regressions for multiple important cases. In short there are many case where
      push would have caught instability creation/propagation that are no longer
      covered.  These behavior have been covered for many years and even if some
      related case are not currently caught, the covered one should not be regressed.
      
      The next four changesets introduce tests for some of these cases. However we
      could produce many more tests cases since the area is wide and they are many
      possible combination. (And we should cover them when getting back to this issue)
      
      Since 5.5 is one week away, the most reasonable approach seems to back this out
      while we devise a new way to move forward that preserve the current behavior,
      catch more issues and also improves the situation that c26335fa4225 target.
      
      
      In addition to the behavior change, c26335fa4225 also introduced output
      changes. These output changes does not requires a backout per-se, but are part of
      the same changeset. However they come with a couple of issues that also requires
      attention:
      
      1) the bulk of the error message have been shoehorned into a multiple line abort
      message. This seems quite different from what we usually do. The abort message
      should be a compact and efficient message, with extra details being issued as
      normal error output beforehand. (with --verbose/--quiet) support.
      
      2) the current output is unbounded, so if there is many (tens, hundreds,
      thousands, …) of unstable/obsolete changeset involved in the push, the output
      can quickly become a scary and un-usuable wall of text. So we need some
      limitation here (same as we have with the remote head list that says A, B , C
      and # others).
      6063c185
    • Pulkit Goyal's avatar
      tests: glob 'mercurial.error' in test-phases.t · 41021660
      Pulkit Goyal authored
      On python 2 with chg, `mercurial.error` is omitted while printing error. On
      other cases it's there in error message.
      
      I did tried to understand what might be the cause was unable to find one on
      quick skim through the code.
      41021660
    • Pierre-Yves David's avatar
      infinitepush: remove unused import to tempfile · bfc6e75c
      Pierre-Yves David authored
      Spotted by test-check-pyflakes.t
      bfc6e75c
  4. Jul 20, 2020
  5. Jul 22, 2020
  6. Apr 22, 2020
  7. Jul 20, 2020
  8. Jul 21, 2020
  9. Jul 20, 2020
  10. Jul 18, 2020
  11. Jul 19, 2020
  12. Jul 20, 2020
  13. Jul 14, 2020
  14. Jul 17, 2020
  15. Jul 18, 2020
  16. Jul 14, 2020
  17. Jul 09, 2020
Loading