Skip to content
Snippets Groups Projects
  1. May 12, 2012
  2. May 08, 2012
  3. May 09, 2012
  4. May 10, 2012
  5. May 11, 2012
  6. May 08, 2012
    • Nikolaj Sjujskij's avatar
      build: fix hgrc manpage building with docutils 0.9 · 462dd183bd73
      Nikolaj Sjujskij authored
      Since docutils 0.9, `roman` module has been moved from module directory root
      (i.e. `site-packages/roman.py`) to `docutils.utils` module. Therefore `import
      roman` statement should be wrapped in `try: ... except ImportError: ...` block
      to handle importing correctly.
      462dd183bd73
  7. May 05, 2012
    • Patrick Mézard's avatar
      alias: inherit command optionalrepo flag (issue3298) · d36a384bec87
      Patrick Mézard authored
      Commands working without a repository, like "init", are listed in
      commands.norepo. Commands optionally using a repository, like "showconfig", are
      listed in commands.optionalrepo. Command aliases were inheriting the former but
      not the latter.
      d36a384bec87
  8. May 06, 2012
  9. May 08, 2012
    • Adrian Buehlmann's avatar
      parsers: statically initializing tp_new to PyType_GenericNew is not portable · 48e42f984074
      Adrian Buehlmann authored
      As detailed on http://docs.python.org/extending/newtypes.html (quote):
      
        "In this case, we can just use the default implementation provided by the API
        function PyType_GenericNew(). We’d like to just assign this to the
        tp_new slot, but we can’t, for portability sake. On some platforms or
        compilers, we can’t statically initialize a structure member with a function
        defined in another C module, so, instead, we’ll assign the tp_new slot in the
        module initialization function just before calling PyType_Ready()."
      
      Fixes "gcc (GCC) 3.4.5 (mingw-vista special r3)" complaining with:
      
        mercurial/parsers.c:1096: error: initializer element is not constant
        mercurial/parsers.c:1096: error: (near initialization for `indexType.tp_new')
      48e42f984074
  10. May 07, 2012
    • Patrick Mézard's avatar
      pure/base85: align exception type/msg on base85.c · 20a9d823f242
      Patrick Mézard authored
      brendan mentioned on IRC that b64decode raises a TypeError too, but while the
      previous exception type may be better in general, it is much easier to make it
      behave like the related C code and changes nothing for mercurial itself.
      20a9d823f242
    • Matt Mackall's avatar
      parsers: fix refcount bug on corrupt index · b767382a8675
      Matt Mackall authored
      When we encounter a corrupt index, we "fail" the init but our
      destructor still gets called. On some systems, this was causing us to
      attempt to decref a dangling to self->data.
      b767382a8675
  11. May 04, 2012
  12. May 03, 2012
  13. May 06, 2012
  14. May 04, 2012
  15. May 03, 2012
  16. May 02, 2012
  17. May 03, 2012
  18. May 02, 2012
Loading