Skip to content
Snippets Groups Projects
  1. Dec 17, 2021
  2. Dec 11, 2021
  3. Dec 02, 2021
    • Dan Villiom Podlaski Christiansen's avatar
      tests: suppress some git-specific output · 3c4df3a3
      Dan Villiom Podlaski Christiansen authored
      The latest version of Git, 2.34, seemed to change something with
      relation to the default strategy. As long as the hashes remain the
      same, we don't care.
      
      In addition, it seems to have some logic related to templates, and
      might warn if the directory doesn't exist. Suppress that.
      3c4df3a3
  4. Nov 24, 2021
    • Dan Villiom Podlaski Christiansen's avatar
      pull: properly distinguish remote messages from progress · 77ce9797
      Dan Villiom Podlaski Christiansen authored
      The previous logic was kind of weird. It parsed the messages rather
      thoroughly, but ignored a crucial distinction:
      
      * Anything that ends with a newline is most likely a remote message.
      * Anything that ends with a carriage return is most likely a progress
        message.
      * Lines ending with newline always flush a progress session.
      
      Most things ending with newline are interesting, but we explicitly
      disregard the “totals” stuff. Things ending with carriage return are
      either progress, or at least something we shouldn't print.
      77ce9797
  5. Dec 02, 2021
  6. Jul 09, 2021
  7. Dec 02, 2021
  8. Nov 21, 2021
  9. May 03, 2021
  10. May 13, 2021
  11. Nov 22, 2021
  12. Nov 21, 2021
  13. Nov 22, 2021
  14. Nov 21, 2021
  15. Nov 22, 2021
  16. Nov 21, 2021
  17. Nov 16, 2021
  18. Jun 21, 2021
  19. Jun 22, 2021
  20. Nov 05, 2021
    • Dan Villiom Podlaski Christiansen's avatar
      pull: ensure that all commits are at least draft · b7843bf6
      Dan Villiom Podlaski Christiansen authored
      Previously, setting phases.new-commit to `secret` would trigger an
      error in clone:
      
        abort: filtered revision '7fe02317c63d9ee324d4b5df7c9296085162da1b'
      
      I'm not entirely sure why that happens, I didn't delve too deeply.
      Essentially, pulls from hg-git _should_ be draft, so I fixed that
      instead. The `secret` phase is for stuff neither to push to Mercurial
      nor Git; it does not distinguish commits based on their origin.
      
      The bug report dates from several years ago; so long ago that one
      might reasonably debate whether this is a bug fix or an enhancement.
      Since fixing old code is significantly easier on default, that's where
      I've put this change.
      
      This is only a partial fix, that focuses on the bug specifically; it
      doesn't address edge-cases where a pull might only affect phases. For
      clarity and documentation, I've left the incorrect behaviour in the
      tests.
      
      Fixes #266
      b7843bf6
    • Dan Villiom Podlaski Christiansen's avatar
      12b35d9a
    • Dan Villiom Podlaski Christiansen's avatar
      3b4d0485
Loading