Skip to content
Snippets Groups Projects
  1. Apr 19, 2013
  2. Apr 18, 2013
    • Bryan O'Sullivan's avatar
      blackbox: automatically rotate log files · 2cad301a7f06
      Bryan O'Sullivan authored
      If enabled, log rotation prevents the amount of space used by the
      blackbox log from growing without bound. This becomes important in
      cases where there are a lot of busy repositories managed by humans
      and automation on many machines.
      
      In large deployments, we cannot reasonably track all the repos where
      blackbox logs need to be managed, so it is safer to have blackbox
      manage its own logs than to move responsibility to an external tool
      such as logrotate.
      
      This change adds two configuration keys:
      
      * blackbox.maxsize is the maximum allowable size of the current log
      
      * blackbox.maxfiles is the number of log files to maintain
      2cad301a7f06
    • Bryan O'Sullivan's avatar
      ui: add a configbytes method, for space configuration · 2c4cd1c42365
      Bryan O'Sullivan authored
      This accepts a floating point number, followed by optional whitespace,
      followed by an optional one- or two-letter unit specifier (for
      bytes, kilobytes, megabytes, or gigabytes).
      2c4cd1c42365
    • Simon Heimberg's avatar
      mq: do not inherit settings form base repo in mqrepo (Fixes issue2358) · 743daa601445
      Simon Heimberg authored
      This is done by using repo.baseui when creating the queue repo.
      743daa601445
    • Simon Heimberg's avatar
      color: set the ui class in reposetup, before a repo is created · 7ae12ce87594
      Simon Heimberg authored
      Previously only the class of repo.ui was set. The class was set in the wrapper
      of dispatch._runcommand. But this is called after the repo is created. Only
      the class of repo.ui is set because repo.baseui already exists and is not
      accessible.
      We now set the class in uisetup because this is called before repo creation.
      This is also the place suggested in the wiki for modifying classes.
      7ae12ce87594
    • André Sintzoff's avatar
      parsers: remove warning: format ‘%ld’ expects argument of type ‘long int’ · 365b0de17c1c
      André Sintzoff authored
      gcc 4.6.3 on 12.04 Ubuntu machine emits warnings:
      mercurial/parsers.c: In function ‘find_deepest’:
      mercurial/parsers.c:1288:9: warning: format ‘%ld’ expects argument of type
                          ‘long int’, but argument 3 has type ‘Py_ssize_t’ [-Wformat]
      mercurial/parsers.c:1288:9: warning: format ‘%ld’ expects argument of type
                          ‘long int’, but argument 4 has type ‘Py_ssize_t’ [-Wformat]
      365b0de17c1c
    • Katsunori FUJIWARA's avatar
      annotate: discard refcount of discarded annotation for memory efficiency · 36067f5baf24
      Katsunori FUJIWARA authored
      Before this patch, refcount (managed in "needed") of the annotation
      result is kept as 1, even if corresponding annotation result is
      discarded from "hist", because it isn't decreased and discarded.
      
      In the history tree including merging revision, the most recent common
      ancestor of merged revisions is scanned twice. Refcount of such
      ancestor never becomes 0, because refcount is started from 1 at the
      second scanning.
      
      This prevents annotation results of merging revision in "hist" from
      being discarded, and decreases memory efficiency.
      
      This patch discards refcount of the annotation result, when the
      corresponding annotation is discarded from "hist".
      36067f5baf24
    • Alexander Plavin's avatar
      revlog: fix a regression with null revision · c010cb6fdef7
      Alexander Plavin authored
      Introduced in the patch which fixes issue3497
      Part of that patch was erroneously submitted and it shouldn't be in the code
      c010cb6fdef7
    • Siddharth Agarwal's avatar
      rebase: check no-op before checking phase (issue3891) · 53eadcb814fd
      Siddharth Agarwal authored
      This could lead to user confusion, because phases aren't really involved at
      all when attempting to perform a no-op rebase.
      53eadcb814fd
  3. Apr 11, 2013
  4. Apr 17, 2013
  5. Apr 16, 2013
  6. Apr 17, 2013
  7. Apr 18, 2013
  8. Feb 21, 2013
    • Kevin Bullock's avatar
      subrepo: fix test breakage introduced in 2b34d004e644 · 2e5476980a57
      Kevin Bullock authored
      The test didn't break when I originally committed it (git version
      1.7.12.4 (Apple Git-37)), and still doesn't on that machine, but the
      output changes elsewhere with "Warning: you are leaving N commits
      behind..."
      
      This change sets a ref on the commit we're updating the subrepo _away_
      from to quash the warning.
      2e5476980a57
  9. Apr 18, 2013
  10. Feb 01, 2013
  11. Apr 18, 2013
  12. Apr 15, 2013
  13. Apr 17, 2013
Loading