Skip to content
Snippets Groups Projects
  1. Feb 22, 2022
  2. Feb 21, 2022
  3. Feb 22, 2022
  4. Feb 21, 2022
  5. Jan 07, 2022
  6. Jan 09, 2022
  7. Feb 11, 2022
    • Anton Shestakov's avatar
      evolve: make _computeobsoleteset() return a frozenset · ce7da767c7f6
      Anton Shestakov authored
      Let's make sure that obsolete.getrevs(repo, b'obsolete') returns a frozenset to
      be compatible with Mercurial 6.1. This shouldn't produce any issues on older
      versions, because I doubt anything tries to modify a set of obsolete revisions
      by calling .add() or .remove() directly on it.
      
      See 27fe84a8dd60 and c7e675848027 in core.
      ce7da767c7f6
  8. Feb 18, 2022
  9. Nov 03, 2021
    • Sushil Khanchi's avatar
      cmdrewrite: a new `hg fixup` command · cd07d6bd4e2a
      Sushil Khanchi authored
      This new command can be used to amend specific revisions with working copy
      changes.
      
      Implementation-wise what it basically does is:
      
      1) commit working directory changes
      2) relocate the new commit onto the target commit
      3) fold them into one.
      
      After the run, the working directory parent will be the obsoleted changeset
      created in step 1 and descendants of the target will become orphans.
      cd07d6bd4e2a
  10. Feb 15, 2022
    • Anton Shestakov's avatar
      rewriteutil: make sure to provide branch kwarg to tomemctx() · d3b77e5ee04e
      Anton Shestakov authored
      Earlier in this function we did extra[b'branch'] = head.branch(), so we
      definitely want to take branch from head. But inside tomemctx(), there's an
      `if branch is None` check that updates extra with wctx.branch(). That is not
      what we need, so let's provide the correct branch again, as a separate keyword
      argument, even though it's already correct in extra.
      
      Other uses of tomemctx() already provide branch.
      
      This patch could be on stable, but fixup series depends on it, and we're close
      enough to a feature release, so this should be fine.
      d3b77e5ee04e
  11. Feb 11, 2022
  12. Feb 06, 2022
  13. Feb 05, 2022
    • Anton Shestakov's avatar
      evolve: enforcesinglehead() in 6.1 covers all our needs · cd313b2e57fb
      Anton Shestakov authored
      The only difference this function has in core and in evolve is a call to
      _filter_obsolete_heads(), but since now head computation in core is
      obsolescence-aware, there's no need to filter heads twice. And with that the
      only reason for calling evolve's version of enforcesinglehead() is gone.
      cd313b2e57fb
  14. Dec 27, 2021
  15. Feb 02, 2022
  16. Feb 01, 2022
  17. Jan 19, 2022
  18. Jan 13, 2022
  19. Jan 11, 2022
  20. Jan 07, 2022
Loading