Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:45:31 +0900] rev 11895
tests: unify test-mq-eol
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:41:45 +0900] rev 11894
tests: unify test-mq
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Aug 2010 18:50:19 +0200] rev 11893
Merge with stable
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 14 Aug 2010 01:30:54 +0200] rev 11892
encoding: improve handling of buggy getpreferredencoding() on Mac OS X
Prior to version 2.7, calling locale.getpreferredencoding() would
always return 'mac-roman' on Mac OS X. Previously, this was handled by
a call to locale.setlocale(). Unfortunately, Python 2.6.5 and older
have a bug where isspace() would incorrectly report True for 0x85 and
0xa0 after such a call.
In order to fix this, we replace the previous _encodingfixup mapping
to an _encodingfixers mapping. Rather than mapping encodings to their
replacement, it maps them to a function returning the
replacement. This allows us to provide an simplified implementation of
getpreferredencoding() which extracts the expected encoding and
restores the locale.
This fix is based on a patch originally submitted by Martijn Pieters
as well as feedback from Brodie Rao.
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Aug 2010 17:50:52 +0200] rev 11891
templatefilters: unnest uescape()
Yuya Nishihara <yuya@tcha.org> [Wed, 11 Aug 2010 01:06:21 +0900] rev 11890
templatefilters: use \uxxxx style escape for JSON string
It's embeddable in plain javascript, and also conforms to JSON standard.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 13 Aug 2010 17:21:06 +0200] rev 11889
test-notify: make it pass on Mac OS X (again)
Changeset
25e74cd3f023 (from 2008) introduced a hack to handle the
very long values of $TMPDIR typically seen on Mac OS X. This hack
expected continuation lines to begin with a tab. However, as a result
of a change in Python 2.7, changeset
594b98846ce1 made it so
continuation lines began with a tab. Since then, `test-notify' has
been broken on Mac OS X.
Merely replacing the tab in the regular expression with a space will
not work: not only do tab continuations still occur in the message, but
other lines -- in the body of the message -- also start with a
space. Luckily, all broken up lines appear to end with either a colon
or an n, so we can match those, and reinsert them in the replacement.
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 18:25:29 +0200] rev 11888
tests: combine test-dirstate-future.t
into test-dirstate.t
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 18:24:49 +0200] rev 11887
tests: unify test-dirstatedirs
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 18:13:46 +0200] rev 11886
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:49:59 +0200] rev 11885
dagparser: transplant part of
4e804302d30c
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:48:05 +0200] rev 11884
check-code: catch "echo -n" in tests
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:42:44 +0200] rev 11883
test-init: replace 'echo -n' with 'printf'
The '-n' argument to echo is a non-standard extension that isn't
supported on Mac OS X 10.6.
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 12 Aug 2010 20:54:34 -0300] rev 11882
revset: fix outgoing argument handling
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:33:03 +0200] rev 11881
debugbuilddag: escape backslash properly in help string
Renato Cunha <renatoc@gmail.com> [Sat, 14 Aug 2010 18:31:22 -0300] rev 11880
url.py: removed 'file' inheritance in the httpsendfile class
Since py3k doesn't have a "file" builtin and, consequently, doesn't support
inheriting from it, this patch refactors the httpsendfile class to wrap the
objects returned by the builtin "open" function while adding the necessary
methods (__len__ for constructing the Content-Length header and read, write,
close and seek for the file-like interface).
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 15 Aug 2010 11:05:04 +0200] rev 11879
fix undefined variables, spotted by pylint
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:38:38 -0300] rev 11878
py3kcompat: added fake ord implementation for py3k
In py3k, a bytes object __getitem__ will return an int instead of a
one-character bytes object. This has negative consequences when we want to
ord(), like in the following example:
>>> b'foo'[0]
102
>>> ord(b'foo'[0])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: ord() expected string of length 1, but int found
This patch overrides the default ord() implementation to just return an int
that's what is passed as an argument for ord(). Making the above call succeed:
>>> ord(b'foo'[0])
102
Greg Ward <greg-hg@gerg.ca> [Sat, 14 Aug 2010 14:57:33 +0200] rev 11877
commit: explicitly document the existence of "last-message.txt"
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:30:35 +0200] rev 11876
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:28:45 +0200] rev 11875
tests: unify test-changelog-exec
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:27:24 +0200] rev 11874
tests: unify test-cat
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:26:03 +0200] rev 11873
tests: unify test-bundle-vs-outgoing
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:23:56 +0200] rev 11872
tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:22:11 +0200] rev 11871
tests: unify test-bundle-r
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:16:02 +0200] rev 11870
tests: unify test-bundle
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:08:02 +0200] rev 11869
tests: unify test-branch-option
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:06:52 +0200] rev 11868
tests: unify test-branches