Skip to content
Snippets Groups Projects
  1. Jul 04, 2019
  2. Jul 01, 2019
  3. Jun 30, 2019
  4. Jun 11, 2019
  5. Feb 02, 2019
    • Gregory Szorc's avatar
      zeroconf: port to Python 3 · fa207175
      Gregory Szorc authored
      Since we're using the source transformer on Python 3, calls into
      Zeroconf and return values from it are generally bytes.
      
      But various socket functions require str on Python 3.
      
      This commit contains enough changes to coerce test-paths.t into
      passing on Python 3. I suspect there are still a handful of bugs
      on Python 3. But the tests do pass.
      
      Differential Revision: https://phab.mercurial-scm.org/D5805
      fa207175
  6. Jun 28, 2019
  7. Jun 30, 2019
  8. Jun 28, 2019
  9. May 18, 2019
    • Sushil Khanchi's avatar
      commit: add --force-close-branch flag to close a non-head changeset · 2e1d9414
      Sushil Khanchi authored
      While closing branch from a changeset which is not a branch head
      current implementation abort this action in every case but, there
      can be the situations where the changeset is not a local head but
      could be a remote head. This patch adds the functionality to bypass
      the "abort: can only close branch heads" by introducing
      --force-close-branch flag.
      
      Test case changes demonstrate the new functionality added.
      
      Differential Revision: https://phab.mercurial-scm.org/D6490
      2e1d9414
  10. Jun 28, 2019
  11. Jun 19, 2019
  12. Jun 05, 2019
  13. May 16, 2019
    • Raphaël Gomès's avatar
      rust-dirstate: add "dirs" rust-cpython binding · ce94f962
      Raphaël Gomès authored
      There is an obvious performance and memory issue with those bindings on larger
      repos as it copies and allocates everything at once, round-trip. Like in the
      previous patch series, this is only temporary and will only get better once
      we don't have large data structures going to and from Python.
      
      Differential Revision: https://phab.mercurial-scm.org/D6394
      ce94f962
    • Raphaël Gomès's avatar
      rust-dirstate: add "dirs" Rust implementation · 2dcee649
      Raphaël Gomès authored
      Following the work done in d1786c1d34fa and working towards the goal of a
      complete Rust implementation of the dirstate, this rewrites the `dirs` class.
      
      There is already a C implementation, which relies heavily on CPython hacks and
      protocol violations for performance, so I don't expect this to perform as well
      for now, as this is very straight-forward code.
      The immediate benefits are new high-level documentation and some unit tests.
      
      Differential Revision: https://phab.mercurial-scm.org/D6393
      2dcee649
  14. Jun 20, 2019
  15. Jun 27, 2019
  16. Jun 20, 2019
  17. Jun 08, 2019
  18. Jun 24, 2019
  19. Jun 25, 2019
  20. Jun 26, 2019
  21. Jun 27, 2019
    • sliquister's avatar
      update: fix spurious unclean status bug shown by previous commit · d29db0a0
      sliquister authored
      The crux of the problem is:
      - the dirstate is corrupted (the sizes/dates are assigned to the wrong files)
      - because when worker.worker is used with a return value (batchget in
        merge.py here), the return value when worker.worker effectively parallelizes
        is permuted
      - this is because worker.worker's partition of input and combination of output
        values are not inverses of one another: it split [1,2,3,4,5,6] into
        [[1,3,5],[2,4,6]], but combines that into [1,3,5,2,4,6].
      
      Given that worker.worker doesn't call its function argument on contiguous
      chunks on the input arguments, sticking with lists means we'd need to
      know the relation between the inputs of worker.worker function argument
      (for instance, requiring that every input element is mapped to exactly
      one output element). It seems better to instead switch return values to
      dicts, which can combined reliably with a straighforward restriction.
      
      Differential Revision: https://phab.mercurial-scm.org/D6581
      d29db0a0
    • sliquister's avatar
      64a873ca
  22. Jun 26, 2019
  23. Jun 20, 2019
Loading