Skip to content
Snippets Groups Projects
  1. May 15, 2015
  2. May 13, 2015
  3. May 12, 2015
  4. May 09, 2015
  5. May 06, 2015
  6. May 07, 2015
  7. May 06, 2015
    • Augie Fackler's avatar
      builddeb: new script for building a deb package · ab75baaf
      Augie Fackler authored
      Future work will allow us to use docker to build debs.
      
      Right now this doesn't install any config files. I plan to do that as
      a followup, but getting something basic and working checked in seems
      like more of a priority than getting everything done in one big step.
      
      This also does not create a source deb yet. I haven't looked into that
      process.
      
      Note that this declares incompatibility with the `mercurial-common`
      package. It's typical for debian packages to be split between
      architecture-independent bits and native bits, meaning the python bits
      downstream live in mercurial-common and the c extension bits live in
      mercurial. We don't do that because we want to (ideally) give users a
      single deb file to install.
      ab75baaf
    • Augie Fackler's avatar
      dockerlib: fix initcontainer for boot2docker users · 33055069
      Augie Fackler authored
      This allows me to build rpm packages using boot2docker on my Mac. It's
      probably a very fragile hack, but it seems to work well enough for now
      that I felt it was worth sharing.
      33055069
    • Augie Fackler's avatar
      dockerlib: extract initcontainer() method · 227b9b2a
      Augie Fackler authored
      This helps contain all the logic around creating containers.
      227b9b2a
    • Augie Fackler's avatar
      dockerlib: start extracting common functions for setting up docker · 80c9e99d
      Augie Fackler authored
      I'm about to start interacting with docker for Debian packaging too,
      so it's time to centralize this so that any bugfixes I figure out
      apply to both codepaths.
      80c9e99d
  8. Oct 11, 2014
    • Pierre-Yves David's avatar
      revset: narrow the subset using smartset operation in roots() · e5f16696
      Pierre-Yves David authored
      We were manually creating a base with explicit subset testing. We should let
      smartset magic happen and optimise that logic if needed.
      
      benchmark show some massive speedup when "parents set" is huge and "subset" is
      small.
      
      revset: 42:68 and roots(42:tip)
      0) wall 0.011322 comb 0.010000 user 0.010000 sys 0.000000 (best of 161)
      1) wall 0.002282 comb 0.010000 user 0.010000 sys 0.000000 (best of 1082)
      
      Minor speedup in simple case (were fullreposet helps)
      
      revset: roots(0::tip)
      0) wall 0.095688 comb 0.100000 user 0.100000 sys 0.000000 (best of 85)
      1) wall 0.084448 comb 0.080000 user 0.080000 sys 0.000000 (best of 95)
      
      revset: roots((0:tip)::)
      0) wall 0.146752 comb 0.140000 user 0.140000 sys 0.000000 (best of 58)
      1) wall 0.143538 comb 0.140000 user 0.140000 sys 0.000000 (best of 59)
      
      And small overhead then the "parents set" is fairly complicated (transforming it
      into a revset once and for all appears to be faster).
      
      revset: roots((tip~100::) - (tip~100::tip))
      0) wall 0.004652 comb 0.010000 user 0.010000 sys 0.000000 (best of 544)
      1) wall 0.004878 comb 0.010000 user 0.010000 sys 0.000000 (best of 479)
      
      revset: roots((0::) - (0::tip))
      0) wall 0.146587 comb 0.150000 user 0.150000 sys 0.000000 (best of 53)
      1) wall 0.157192 comb 0.160000 user 0.160000 sys 0.000000 (best of 53)
      
      revset: first(roots((0::) - (0::tip)))
      0) wall 0.152924 comb 0.150000 user 0.150000 sys 0.000000 (best of 57)
      1) wall 0.153192 comb 0.160000 user 0.160000 sys 0.000000 (best of 55)
      e5f16696
  9. Apr 23, 2015
  10. Apr 22, 2015
  11. Apr 17, 2015
  12. Apr 15, 2015
  13. Apr 12, 2015
  14. Apr 09, 2015
  15. Apr 03, 2015
  16. Mar 29, 2015
  17. Mar 28, 2015
  18. Mar 27, 2015
  19. Mar 24, 2015
Loading