- 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
-
kiilerix authored
This fixes a regression introduced with the new url handling in 1.9. This should perhaps be fixed in the url class instead, but that might be too invasive for a stable bugfix.
-
- 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.
-
- Aug 04, 2011
-
-
Idan Kamara authored
Previously aliases that overrode existing commands would wrap the old alias on every call to dispatch() (twice actually), which is an obvious re-entrancy issue for things like the command server or TortoiseHG.
-
file:///c:/foo/bar/kiilerix authored
28edd65000d9 made sure that paths that seemed to start with a windows drive letter would not get an extra leading slash. localpath should thus not try to handle this case by removing a leading slash, and this special handling is thus removed. (The localpath handling of this case was wrong anyway, because paths that look like they start with a windows drive letter can't have a leading slash.) A quick verification of this is to run 'hg id file:///c:/foo/bar/'.
-
- Aug 01, 2011
-
-
Matt Mackall authored
-
Matt Mackall authored
-
Patrick Mezard authored
The [auth] section was ignored when handling URLs like: http://user@example.com/foo Instead, we look in [auth] for an entry matching the URL and supplied user name. Entries without username can match URL with a username. Prefix length ties are resolved in favor of entries matching the username. With: foo.prefix = http://example.org foo.username = user foo.password = password bar.prefix = http://example.org/bar and the input URL: http://user@example.org/bar the 'bar' entry will be selected because of prefix length, therefore prompting for a password. This behaviour ensure that entries selection is consistent when looking for credentials or for certificates, and that certificates can be picked even if their entries do no define usernames while the URL does. Additionally, entries without a username matched against a username are returned as if they did have requested username set to avoid prompting again for a username if the password is not set. v2: reparse the URL in readauthforuri() to handle HTTP and HTTPS similarly. v3: allow unset usernames to match URL usernames to pick certificates. Resolve prefix length ties in favor of entries with usernames.
-
- Jul 30, 2011
-
-
Matt Mackall authored
Before: hgweb made it possible to download file content with a content type detected from the file extension. It would serve .html files as text/html and could thus cause XSS vulnerabilities if the web site had any kind of session authorization and the repository content wasn't fully trusted. Now: all files default to "application/binary", which all important browsers will refuse to treat as text/html. See the table here: https://code.google.com/p/browsersec/wiki/Part2#Survey_of_content_sniffing_behaviors
-
- Aug 01, 2011
-
-
wujek authored
-
Idan Kamara authored
-
Matt Mackall authored
-
- Jul 31, 2011
-
-
Katsunori FUJIWARA authored
-
- Jul 30, 2011
-
-
Jens Bäckman authored
-
- Jul 28, 2011
-
-
Vasily Titskiy authored
-
- Jul 30, 2011
-
-
Idan Kamara authored
it may have been replaced, see https://bitbucket.org/tortoisehg/thg/issue/937
-
Idan Kamara authored
So if a user has verbose=True somewhere in his .hgrc files, giving -q on the command line will override that. This basically reverts 1b8c70c9f47c.
-
- Jul 27, 2011
-
-
Augie Fackler authored
Some proxies strip the expect header because they forward requests in a non-compliant way or as a way to defend against bogus clients.
-
- Jul 29, 2011
-
-
Augie Fackler authored
-
Andrei Vermel authored
-
- Jul 31, 2011
-
-
Benoit Boissinot authored
-
- Jul 27, 2011
-
-
Andrew Pritchard authored
This fixes (issue2907) a crash when using 'hg incoming --bundle' with an empty remote repo and a non-empty local repo. This also fixes an unreported bug that 'hg summary --remote' erroneously reports incoming changes when the remote repo is empty and the local is not. Also, add a test to make sure issue2907 stays fixed
-
- Jul 28, 2011
-
-
Katsunori FUJIWARA authored
Some character sets, cp932 (known as Shift-JIS for Japanese) for example, use 0x41('A') - 0x5A('Z') and 0x61('a') - 0x7A('z') as second or later character. In such character set, case collision checking recognizes different files as CASEFOLDED same file, if filenames are treated as byte sequence. win32mbcs extension is not appropriate to handle this problem, because this problem can occur on other than Windows platform only if problematic character set is used. Callers of util.checkcase() use known ASCII filenames as last component of path, and string.lower() is not applied to directory part of path. So, util.checkcase() is kept intact, even though it applies string.lower() to filenames.
-
- Jul 22, 2011
-
-
Wagner Bruna authored
-
Wagner Bruna authored
-
- Jul 21, 2011
-
-
Augie Fackler authored
-
- Jul 22, 2011
-
-
Lee Cantey authored
-