Skip to content
Snippets Groups Projects
  1. Dec 18, 2019
  2. Dec 13, 2019
  3. Dec 07, 2019
  4. Dec 20, 2019
  5. Dec 13, 2019
    • Pierre-Yves David's avatar
      rust-index: add a function to convert PyObject index for hg-core · f98f0e3d
      Pierre-Yves David authored
      Function in hg-core need something implementing the `Graph` trait. Right now,
      the `hg-cpython` entry points directly turn the PyObject passed as argument
      into a `cindex::Index`. However, if we start having the option to use an Index
      in Rust, we need to dispatch between the different possible PyObject we could
      receive.
      
      So move the "duplicate" call into a unified function. When time come. It will be
      easy to update the logic of all interface when the time come.
      
      Differential Revision: https://phab.mercurial-scm.org/D7653
      f98f0e3d
  6. Dec 11, 2019
  7. Dec 18, 2019
  8. Dec 19, 2019
  9. Dec 17, 2019
  10. Dec 18, 2019
    • Martin von Zweigbergk's avatar
      rebase: use rewriteutil.precheck() instead of reimplementing it · 71fee456
      Martin von Zweigbergk authored
      After this patch, there's still another place in `rebase.py`, in the
      `--stop` code path, that reimplements `rewriteutil.precheck()`. I
      couldn't fix that place because it `rewriteutil.precheck()` checks
      that there is only one dirstate parent, which fails because we have
      two parents at that point. I think it's incorrect that rebase leaves
      the user with two parents during conflicts, but changing that is way
      out of scope for this series.
      
      Differential Revision: https://phab.mercurial-scm.org/D7685
      71fee456
  11. Dec 17, 2019
  12. Dec 13, 2019
  13. Dec 18, 2019
  14. Dec 17, 2019
  15. Dec 16, 2019
    • Matt Harbison's avatar
      util: move common proxyobserver attributes to the base class · 4222b9d5
      Matt Harbison authored
      Fixes the following pytype warnings:
      
          line 791, in _writedata: No attribute 'logdata' on baseproxyobserver [attribute-error]
          line 792, in _writedata: No attribute 'logdataapis' on baseproxyobserver [attribute-error]
          line 793, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
          line 794, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
          line 799, in _writedata: No attribute 'logdataapis' on baseproxyobserver [attribute-error]
          line 800, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
          line 802, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
          line 803, in _writedata: No attribute 'name' on baseproxyobserver [attribute-error]
          line 805, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
          line 809, in _writedata: No attribute 'logdataapis' on baseproxyobserver [attribute-error]
          line 810, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
          line 814, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
          line 815, in _writedata: No attribute 'name' on baseproxyobserver [attribute-error]
          line 817, in _writedata: No attribute 'fh' on baseproxyobserver [attribute-error]
      
      Differential Revision: https://phab.mercurial-scm.org/D7675
      4222b9d5
  16. Dec 12, 2019
    • Martin von Zweigbergk's avatar
      config: drop debug messages saying where config was read from · 6b687282
      Martin von Zweigbergk authored
      `hg config --debug` includes lines like this:
      
        set config by: $EDITOR
      
      but also lines like this:
      
        $EDITOR: ui.editor=emacs -nw
      
      The `set config by` messages don't seem to provide much additional
      information over what we get from the `$EDITOR:`-type message. I could
      imagine wanting to see which values got overriden by a later entry,
      but that information is already not present. So let's just remove the
      first type of output. My next patch would otherwise amplify the
      redundant output (there would be one `set config by` for each line in
      `mergetools.rc`).
      
      Differential Revision: https://phab.mercurial-scm.org/D7627
      6b687282
  17. Dec 11, 2019
  18. Nov 29, 2019
Loading