- Oct 01, 2011
-
-
Matt Mackall authored
-
Matt Mackall authored
-
- Sep 30, 2011
-
-
Matt Mackall authored
-
- Sep 26, 2011
-
-
Katsunori FUJIWARA authored
-
- Sep 20, 2011
-
-
Nikolaj Sjujskij authored
If Python interpreter was built under Linux 3.x kernel, it reports sys.platform to be 'linux3' (it is fixed for Python 3, but not for 2.x). This cancels building inotify extension, which was built only for 'linux2' platform. Improved test checks if sys.platform begins with 'linux', and together with test for kernel version to be greater than 2.6 it seems to cover all known cases.
-
- Sep 27, 2011
-
-
Steffen Daode Nurpmeso authored
The line content of continued Subject: lines was yet joined via str.replace('\n\t', ' '), which does not handle continuation via spaces. So expan the regular expression instead to handle all allowed forms of mail header line continuation.
-
- Sep 23, 2011
-
-
Kevin Gessner authored
Post-2038 timestamps cannot be handled on 32-bit architectures. Clamp such dates to the maximum 32-bit timestamp.
-
- Sep 21, 2011
-
-
kiilerix authored
It was very elegant that httpsendfile implemented __len__ like a string. It was however also dangerous because that protocol can't handle sizes bigger than 2 GB. Mercurial tried to work around that, but it turned out to be too easy to introduce new errors in this area. With this change __len__ is no longer implemented at all and the code will work the same way for short and long posts.
-
- Sep 13, 2011
-
-
Matt Mackall authored
-
- Sep 08, 2011
-
-
Steve Streeting authored
Needed to use 'Py_RETURN_TRUE' instead of 'return Py_True' to avoid reference count errors which would randomly crash the Python executable during merge. This only happened when you had something configured in merge-tools and the merge was large enough.
-
- Sep 14, 2011
-
-
Sune Foldager authored
The default argument value of None, for bundlename, would cause an exception. Callers currently pass an empty string, thus dodging this problem.
-
- Sep 11, 2011
-
-
Simon Heimberg authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
The output of 'wc -c' is prefixed with spaces when using BSD wc.
-
- Sep 08, 2011
-
-
Renato Cunha authored
This is an attempt to fix issue 2451 and its duplicates (2599 and 2949, AFAIK). Its main idea is that it is only necessary to clean the proxy environment variables *when* http_proxy is set in the config file (since it takes precedence over the environment variables). Otherwise, hg shouldn't bother with them, since they will most likely be used to reach the server.
-
- Sep 10, 2011
-
-
Christian Ebert authored
This guarantees test failure when the dirstate code is omitted at the end of the kwtemplater.overwrite method. kwexpand/kwshrink: Without a 1 second wait the test succeeds sometimes, even when the dirstate of the overwritten file is not forced to normal. record: status after recording an added file allows to check whether normallookup is needed after overwriting.
-
Matt Mackall authored
-
- Sep 09, 2011
-
-
Matt Mackall authored
-
- Sep 08, 2011
-
-
Matt Mackall authored
-
Christian Ebert authored
-
- Aug 26, 2011
-
-
Katsunori FUJIWARA authored
neither number of 'bytes' in any encoding nor 'characters' is appropriate to calculate terminal columns for specified string. this patch modifies MBTextWrapper for: - overriding '_wrap_chunks()' to make it use not built-in 'len()' but 'encoding.colwidth()' for columns of string - fixing '_cutdown()' to make it use 'encoding.colwidth()' instead of local, similar but incorrect implementation this patch also modifies 'encoding.py': - dividing 'colwith()' into 2 pieces: one for calculation columns of specified UNICODE string, and another for rest part of original one. the former is used from MBTextWrapper in 'util.py'. - preventing 'colwidth()' from evaluating HGENCODINGAMBIGUOUS configuration per each invocation: 'unicodedata.east_asian_width' checking is kept intact for reducing startup cost.
-
- Aug 06, 2011
-
-
kiilerix authored
This re-introduces the unicode conversion what was lost in d320e70442a5 5 years ago and had the comment: To avoid corrupting multi-byte characters in line, we must wrap a Unicode string instead of a bytestring.
-
- Jul 25, 2011
-
-
Augie Fackler authored
-
- Aug 25, 2011
-
-
Peter Arrenbrecht authored
When setting up the next sample, we always add all of the heads, regardless of the desired max sample size. But if the number of heads exceeds this size, then we don't add any more nodes from the still undecided set. (This is debatable per se, and I'll investigate it, but it's how we designed it at the moment.) The bug was that we always added the overall heads, not the heads of the remaining undecided set. Thus, if #heads>200 (desired sample size), we did not make progress any longer.
-
- Aug 30, 2011
-
-
Martin Geisler authored
In 17ffb30d9174, _readline was changed to output a space using raw_input and this was done using sys.stdout directly, not self.fout. This change broke the command server for JavaHg since it (and other clients) would see a spurious ' ' on stdout and interpret this as an unknown channel.
-
- Aug 26, 2011
-
-
Matt Mackall authored
-
Matt Mackall authored
-
- Aug 25, 2011
-
-
Idan Kamara authored
This is a workaround for calling ui.prompt(...), typing some character then hitting backspace which causes the entire line to delete rather than just the one character. This was seen on Debian using gnome-terminal. (credits to Mads for the idea) Python bug can be found here: http://bugs.python.org/issue12833
-
Peter Arrenbrecht authored
-
- Aug 19, 2011
-
-
Wagner Bruna authored
-
- Aug 18, 2011
-
-
Wagner Bruna authored
This disabled paragraph splitting for translations.
-
Martin Geisler authored
This is a FAQ: people try 'hg heads -r foo' and only see the tip-most branch heads on foo.
-
- Aug 17, 2011
-
-
Pang Yan Han authored
-
- Aug 08, 2011
-
-
Shun-ichi GOTO authored
Following is list of C-Runtime for versions of CPython on windows: - python 2.4.5 => MSVCR71.dll - python 2.5.4 => MSVCR71.dll - python 2.6.6 => MSVCR90.dll - python 2.7 => MSVCR90.dll - python 3.1.2 => MSVCR90.dll
-
- Aug 10, 2011
-
-
Matt Mackall authored
Newer versions of GCC have aggressive pointer alias optimizations that might get fooled by our pointer manipulations. These issues shouldn't be encountered in practice because distutils compiles extensions with -fno-strict-alias but the code was not valid according to the standard.
-
Matt Mackall authored
This bug may be caused by file subgraphs have more than two parents per node. I have no idea if this fix is correct as the graphlog code is mysterious, but it seems to be fine on the available test case.
-
- Aug 04, 2011
-
-
kiilerix authored
The extension hack is based on Henrik Stuart's hg-textauth.
-
- Aug 05, 2011
-
-
Patrick Mezard authored
urllib2 never handles URIs with credentials, we have to extract them and store them in the password manager before handing the stripped URI. Half of the changes deducing the username from the URI in 4a43e23b8c55 were incorrect. Instead, we retrieve the username from the password manager before passing to readauthforuri(). test-hgweb-auth.py was passing because the test itself was flawed: it was passing URIs with credentials to find_password(), which never happens.
-
Patrick Mezard authored
urllib2 password manager does not strip credentials from URIs registered with add_password() and compare them with stripped URIs in find_password(). Remove credentials from URIs returned by util.url.authinfo(). It sometimes works when no port was specified as the URI host is registered too.
-