Skip to content
Snippets Groups Projects
  1. Nov 03, 2021
  2. Jul 09, 2021
  3. Feb 05, 2021
  4. Oct 31, 2021
  5. Jul 06, 2021
  6. Oct 31, 2021
  7. Jul 09, 2021
  8. Aug 01, 2021
  9. Oct 22, 2021
  10. Jul 06, 2021
  11. Feb 05, 2021
    • Dan Villiom Podlaski Christiansen's avatar
      pull: do not invent or imply a "default" when none exists · 1c9ac8cf
      Dan Villiom Podlaski Christiansen authored
      As far as I can tell, this was previously used to "detect" an initial
      clone. Unfortunately, that logic is incorrect: like Mercurial, hg-git
      should consider pulling into an empty repository distinct from
      cloning.
      
      As an apparent aside, it also kind-of-sort-of handled the case where
      you pulled from a local Git repository into a location that happened
      to be default.
      
      To fix this, we do two things:
      
      1) Expand relative local paths before comparing them to other paths.
      2) Detect clone from the source of the default `default` path.
      
      The end result is:
      
      1) You can pull from e.g. `../repo` to update remotes, with an
         equivalent path specified in the configuration
      2) Pulls from entirely foreign remotes are no longer saved.
      3) We always activate the desired bookmarks on clone.
      
      Although the two changes might seem unrelated, their effect is
      combined, and either alone would break the tests.
      1c9ac8cf
  12. Jul 06, 2021
  13. May 31, 2021
  14. Jul 06, 2021
  15. Feb 05, 2021
  16. Jun 24, 2021
  17. Jul 31, 2021
  18. Aug 01, 2021
  19. Jul 06, 2021
  20. Feb 05, 2021
  21. Jul 06, 2021
  22. Jun 24, 2021
Loading