Skip to content
Snippets Groups Projects
  1. Jun 19, 2010
  2. Jun 17, 2010
  3. Jun 18, 2010
  4. Jun 17, 2010
  5. Jun 18, 2010
  6. Jun 17, 2010
  7. Jun 16, 2010
  8. Jun 17, 2010
  9. Jun 15, 2010
    • Renato Cunha's avatar
      bdiff.c: Added support for py3k. · 0044193a1c45
      Renato Cunha authored
      This patch adds support for py3k in bdiff.c. This is accomplished by including
      a header file responsible for abstracting the API differences between python 2
      and python 3.
      0044193a1c45
    • Renato Cunha's avatar
      diffhelpers.c: Added support for py3k. · f50103035c38
      Renato Cunha authored
      This patch adds support for py3k in diffhelpers.c. This is accomplished by
      including a header file responsible for abstracting the API differences between
      python 2 and python 3.
      f50103035c38
    • Renato Cunha's avatar
      base85.c: Added support for py3k. · f42ef9493fa9
      Renato Cunha authored
      This patch adds support for py3k in base85.c. This is accomplished by including
      a header file responsible for abstracting the API differences between python 2
      and python 3.
      f42ef9493fa9
    • Renato Cunha's avatar
      parsers.c: Added support for py3k. · 3de3d670d2b6
      Renato Cunha authored
      This patch adds support for py3k in parsers.c. This is accomplished by including
      a header file responsible for abstracting the API differences between python 2
      and python 3.
      3de3d670d2b6
    • Renato Cunha's avatar
      mpatch.c: Added preliminary support for py3k. · 2ac98313b26c
      Renato Cunha authored
      This is done by including the util.h header file, that defines appropriate
      macros according to the current python version.
      2ac98313b26c
    • Renato Cunha's avatar
      osutil.c: Support for py3k added. · 4eaacccbb2ca
      Renato Cunha authored
      This patch adds support for py3k in osutil.c. This is accomplished by including
      a header file responsible for abstracting the API differences between python 2
      and python 3.
      
      listdir_stat_type is also changed in the following way: A previous call to
      PyObject_HEAD_INIT is substituted to a call to PyVarObject_HEAD_INIT, which
      makes the object buildable in both python 2.x and 3.x without weird warnings.
      
      After testing on windows, some modifications were also made in the posixfile
      function, as it calls PyFile_FromFile and PyFile_SetBufSize, which are gone in
      py3k. In py3k the PyFile_* API is, actually a wrapper over the io module, and
      code has been adapted accordingly to fit py3k.
      4eaacccbb2ca
    • Renato Cunha's avatar
      util.h: Utility macros for handling different Python APIs. · 4494fb02d549
      Renato Cunha authored
      If we are in py3k, a IS_PY3K symbol is defined. Apart from that, byte strings
      use the API defined in Python 2.6+ (_?PyBytes_.*). For Python < 2.6, the bytes
      API is defined accordingly for mercurial usage (shameless copy from
      bytesobject.h from Python's code). Some macros were backported from 2.6, as
      inspired by rPath's pycompat.h.
      4494fb02d549
  10. Jun 16, 2010
  11. Jun 10, 2010
  12. Jun 14, 2010
  13. Jun 15, 2010
    • Greg Ward's avatar
      tags: remove inactive debugging code. · b19067ee4507
      Greg Ward authored
      It was left in just in case things went wrong with the tag cache in
      Mercurial 1.4, so we could easily crank up the verbosity with a
      one-line change.  There have been no problems in 1.4 or 1.5, so it
      should be safe to drop this now.
      b19067ee4507
    • Greg Ward's avatar
      tags: remove the old non-caching implementation of findglobaltags(). · 1cdc8b5e5729
      Greg Ward authored
      It was left behind just in case the tag cache blew up in Mercurial
      1.4, so we could easily revert to the non-caching code.  There have
      been no problems with the tag cache in 1.4 or 1.5, so it should be
      safe to get rid of this code now.
      1cdc8b5e5729
    • Christian Ebert's avatar
      keyword: postpone manifest calculation in kwtemplater.overwrite · 5ea28187707e
      Christian Ebert authored
      We can check for file existence in the working directory (needed
      in case of recording) by simply using the given context and
      calculate the manifest only when there are in fact candidates
      for expansion/shrinking.
      5ea28187707e
  14. Jun 13, 2010
  15. Jun 15, 2010
Loading