Skip to content
Snippets Groups Projects
  1. Jul 09, 2021
  2. Feb 05, 2021
  3. Oct 31, 2021
  4. Jul 06, 2021
  5. Oct 31, 2021
  6. Jul 09, 2021
  7. Aug 01, 2021
  8. Oct 22, 2021
  9. Jul 06, 2021
  10. 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
  11. Jul 06, 2021
  12. May 31, 2021
  13. Jul 06, 2021
  14. Feb 05, 2021
  15. Jun 24, 2021
  16. Jul 31, 2021
  17. Aug 01, 2021
  18. Jul 06, 2021
  19. Feb 05, 2021
  20. Jul 06, 2021
  21. Jun 24, 2021
  22. Jun 18, 2021
    • Dan Villiom Podlaski Christiansen's avatar
      incoming: stop caching dulwich objects · a28216b2
      Dan Villiom Podlaski Christiansen authored
      This is a premature optimisation, since Dulwich does a lot caching
      internally anyway. I have been unable to demonstrate any benefit from
      this; a bit of profiling shows that this stage of an incoming
      command takes ~12 seconds, even with more than 100k commits.
      
      Generally speaking, the actual conversion will take significantly
      longer time than caching these objects. In fact, the cache might
      actually be harmful for very long-running conversions, as they tend to
      run into memory constraints.
      a28216b2
Loading