Skip to content
Snippets Groups Projects
  1. Dec 23, 2021
    • Dan Villiom Podlaski Christiansen's avatar
      push: adjust error message when pushing with missing git commits · e4b9a882
      Dan Villiom Podlaski Christiansen authored
      Thorsten Kampe reported that he ran into this message in issue #376.
      We had some handling for this previously, but we would only handle
      converting commits with missing parents; this fixes it so that we also
      handle pushing truly missing commits rather than only when actually
      converting them.
      
      The previous error message was confusing and unhelpful, though, but
      this should make it clear what's going on. Fortunately, he _also_
      provided a relatively simple way to trigger it, and as it was
      previously uncovered by the test suite, I added a test that triggers
      it!
      e4b9a882
    • Dan Villiom Podlaski Christiansen's avatar
      test-verify-fail: unbreak on darwin · 82388ef0
      Dan Villiom Podlaski Christiansen authored
      `mv` on darwin — and probably other BSD-derived systems as well —
      prompts for whether to overwrite a non-writable file, and fails to do
      so in a noninteractive session. That's what the `-f` flag is for.
      82388ef0
  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. Nov 22, 2021
  10. Nov 21, 2021
  11. Nov 22, 2021
  12. Jun 22, 2021
  13. Nov 05, 2021
  14. Nov 04, 2021
  15. Jul 06, 2021
    • Dan Villiom Podlaski Christiansen's avatar
      push: output when non-pushable commits exist · 5b271ae3
      Dan Villiom Podlaski Christiansen authored
      This is an area where we have no choice but diverging from stock
      Mercurial, as Git does not allow anonymous heads. We can only push
      something that has either a bookmark or a tag.
      
      In order to lessen confusion for users, we output a message inspired
      by Mercurial's (ignoring %d secret commits) — which serves a similar
      purpose.
      5b271ae3
  16. Nov 03, 2021
  17. Jul 09, 2021
  18. Feb 05, 2021
  19. Oct 31, 2021
  20. Jul 09, 2021
  21. Aug 01, 2021
Loading