Skip to content
Snippets Groups Projects
  1. Feb 28, 2018
  2. Feb 21, 2018
    • Pulkit Goyal's avatar
      remotenames: don't inherit the remotenames class from dict class · 1bd132a021dd
      Pulkit Goyal authored
      The remotenames class was moved from hgremotenames extension. The class in
      hgremotenames extension used to extend dict because updating bookmark was done
      through a dict-like interface or Sean (smf) wanted it to be that way.
      But now, we can remove the inheritance from the dict class as updating bookmark
      is not done using a dict-like interface.
      
      Thanks to Martin von Zweigbergk for spotting this.
      
      Differential Revision: https://phab.mercurial-scm.org/D2361
      1bd132a021dd
  3. Feb 25, 2018
    • Matt Harbison's avatar
      run-tests: cache hghave results · 5c1cea8a3e60
      Matt Harbison authored
      Spawning a process on Windows is expensive.  I've got a version of
      test-lfs-test-server.t locally which prints the http request/responses that
      totals 819 lines, with 149 conditional lines, 11 #if tests, and 2 test cases.
      It takes just under 1 minute with this change to run both cases, vs just over
      2 minutes without this change.  Worse, when I explored adding ui.debug to the
      test, it takes 13 minutes due to all of the mismatches and retests, vs less than
      1 minute with this change.  Overall, the difference when running all tests is
      negligible- 103 minutes with this change, vs 105 without when using -j9.
      
      It also looks like an exit value of 2 from `hghave` is treated specially, but
      there's nothing preventing 2 missing features from also using this value.
      5c1cea8a3e60
  4. Feb 27, 2018
  5. Feb 26, 2018
  6. Feb 17, 2018
    • Gregory Szorc's avatar
      internals: document bundle2 format · 1fa35ca345a5
      Gregory Szorc authored
      It seems like a good idea to have thorough documentation of the bundle2
      data format, including the format of each part and the capabilities.
      
      The added documentation is far from complete. For example, we don't
      fully capture the semantics of each capability and part. But a start
      is better than nothing, which was pretty much where we were before.
      
      Differential Revision: https://phab.mercurial-scm.org/D2298
      1fa35ca345a5
  7. Feb 26, 2018
  8. Feb 25, 2018
  9. Feb 26, 2018
Loading