Skip to content
Snippets Groups Projects
  1. Dec 05, 2018
  2. Dec 04, 2018
  3. Jul 13, 2018
  4. Dec 05, 2018
  5. Dec 03, 2018
    • idlsoft's avatar
      bookflow: new extension for bookmark-based branching · 9cec7a36
      idlsoft authored
      This extension should be helpful for feature branches - based workflows.
      At my company we first considered branches, but weren't sure about creating a lot of permanent objects.
      We tried bookmarks, but found some scenarios to be difficult to control.
      
      The main problem, was the active bookmark being moved on update.
      Disabling that made everything a lot more predictable.
      
      Bookmarks move on commit, and updating means switching between them.
      
      The extension also implements a few minor features to better guide the workflow:
        - hg bookmark NAME can be ambiguous (create or move), unlike hg branch. The extension requires -rev to move.
        - require an active bookmark on commit.
        - some bookmarks can be protected (like @), useful for teams, that require code reviews.
        - block creation of new branches.
      
      The initial implementation requires no changes in the core, but it does rely on some implementation details.
      I thought it may be useful to discuss the functionality first, and then focus making the code more robust.
      
      Differential Revision: https://phab.mercurial-scm.org/D4312
      9cec7a36
  6. Dec 04, 2018
  7. Nov 18, 2018
  8. Nov 10, 2018
  9. Nov 18, 2018
    • Yuya Nishihara's avatar
      loggingutil: add basic logger backends · 96be0eca
      Yuya Nishihara authored
      These classes will be used in command server. They are similar to
      the blackboxlogger, but it can't be factored out since the blackbox is so
      tightly coupled with a repo object.
      96be0eca
  10. Dec 04, 2018
  11. Nov 20, 2018
  12. Dec 04, 2018
  13. Oct 28, 2018
    • Yuya Nishihara's avatar
      rust: fix possible out-of-bounds read through index_get_parents() · 884321cd
      Yuya Nishihara authored
      index_get_parents() is an internal function, which doesn't check if the
      specified rev is valid. If rustlazyancestors() were instantiated with an
      invalid stoprev, it would access to invalid memory region.
      
      This is NOT a security fix as there's no Python code triggering the bug,
      but included in this series to not give a notion about the memory issue
      fixed by the previous patch.
      884321cd
  14. Nov 01, 2018
Loading