A Scalable, User-Friendly Source Control System.
Go to file
Adrian Buehlmann 4482ec8070 parsers: statically initializing tp_new to PyType_GenericNew is not portable
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')
2012-05-08 11:20:07 +02:00
contrib plan9: mkfile and 9diff fixes 2012-04-28 23:01:31 -07:00
doc doc: update copyright years to 2012 2012-04-30 12:04:30 +02:00
hgext largefiles: in putlfile, ensure tempfile's directory exists prior to creation 2012-05-04 14:36:40 -04:00
i18n i18n-ja: synchronized with ae8f8ec04f94 2012-05-01 19:09:15 +09:00
mercurial parsers: statically initializing tp_new to PyType_GenericNew is not portable 2012-05-08 11:20:07 +02:00
tests pure/base85: align exception type/msg on base85.c 2012-05-07 21:49:45 +02:00
.hgignore update .hgignore for hackable with Python 2.7 2012-04-28 01:22:35 +02:00
.hgsigs Added signature for changeset da339fc71ca6 2012-05-03 16:06:33 -05:00
CONTRIBUTORS Add note to CONTRIBUTORS file 2007-11-07 21:10:30 -06:00
COPYING COPYING: refresh with current address from fsf.org 2011-06-02 11:17:02 -05:00
hg rename util.set_binary to setbinary 2011-05-06 15:25:35 +02:00
hgeditor Fixed a bashism with the use of $RANDOM in hgeditor. 2010-05-19 18:06:35 +02:00
hgweb.cgi mq: add a warning about uncommitted changes for qfinish 2011-11-10 15:40:34 -06:00
Makefile Makefile: be more careful when cleaning up pure/ components 2012-04-18 11:45:50 -05:00
README readme: mention how to run in-place 2012-03-02 21:43:55 +02:00
setup.py plan9: initial support for plan 9 from bell labs 2012-04-08 12:43:41 -07:00

Mercurial
=========

Mercurial is a fast, easy to use, distributed revision control tool
for software developers.

Basic install:

 $ make            # see install targets
 $ make install    # do a system-wide install
 $ hg debuginstall # sanity-check setup
 $ hg              # see help

Running without installing:

 $ make local      # build for inplace usage
 $ ./hg --version  # should show the latest version

See http://mercurial.selenic.com/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.