Skip to content
Snippets Groups Projects
  1. Jan 15, 2021
  2. Jan 17, 2021
  3. Dec 09, 2020
    • Matt Harbison's avatar
      windows: wrap `os.getcwd()` in `os.path.realpath()` on py3 · 3dfebba9
      Matt Harbison authored
      I noticed various `test-check-*` failures that were printing absolute paths
      when repo relative paths were expected.  This was due to the drive letter in
      `repo.root` being uppercased as it is run through `os.path.realpath()`, and then
      the simple string comparison against the (lowercased) `_cwd` member of dirstate
      in `dirstate.getcwd()` causing an absolute path to be returned, instead of the
      expected `b''`.  That in turn causes `scmutil.getuipathfn()` to wrongly use
      `repo.pathto()` with an absolute cwd path.
      .
      
      Differential Revision: https://phab.mercurial-scm.org/D9806
      3dfebba9
  4. Dec 02, 2020
  5. Jan 17, 2021
  6. Jan 16, 2021
  7. Jan 17, 2021
  8. Jan 15, 2021
    • Pierre-Yves David's avatar
      clone: make sure we warm the cache after a clone · 95a615dd
      Pierre-Yves David authored
      This work around any deviciency/limitation of the clone process. In our case
      this ensure the persistent nodemap exist with valid content.
      
      Ideally, the cloning process would also do "the right thing". However since
      older server will never be able to do "the right thing". The local workaround
      will be necessary anyway.
      
      I am not worried by the performance impact of this as `hg clone` is non-instant
      on large repositories where is could matters. Warming the cache if they are
      already correct is very fast. And if they are not already warm, this seems like
      a good time to do so.
      
      This impact various test as more cache are now warmed sooner, all the change
      should be harmless.
      
      Differential Revision: https://phab.mercurial-scm.org/D9789
      95a615dd
  9. Jan 14, 2021
  10. Jan 13, 2021
  11. Jan 14, 2021
  12. Jan 13, 2021
  13. Jan 15, 2021
  14. Jan 12, 2021
  15. Jan 11, 2021
  16. Jan 12, 2021
  17. Jan 11, 2021
  18. Jan 09, 2021
  19. Jan 11, 2021
  20. Jan 08, 2021
Loading