- Aug 26, 2010
-
-
Matt Mackall authored
-
- Aug 17, 2010
-
-
Sol Jerome authored
The following patch allows the use of python2.4 with a standalone hashlib rather than assuming that python2.5 is in use when hashlib is imported successfully.
-
- Aug 16, 2010
-
-
Matt Mackall authored
-
- Aug 13, 2010
-
-
Martin Geisler authored
Mads Kiilerich pointed out that 7c9beccb0533 was too eager since the prefix and password keys may contain $-signs. So this only add the username to the list of keys that are expanded. This also updates the documentation to match.
-
Martin Geisler authored
-
- Aug 26, 2010
-
-
Thomas Arendsen Hein authored
re.match only looks at the beginning of the merged file, and without re.MULTILINE the file had to end with ">>>>>>> something". Now conflict markers inside the file are found, too.
-
- Aug 22, 2010
-
-
Brodie Rao authored
Currently, given an alias like the following: [alias] summary = summary --remote The alias might be executed - or it might not - depending on the order of the cmdtable dict. This happens because cmdalias gets assigned back to the cmdtable like so: cmdtable['summary'] = ... Yet '^summary|sum' is still in the table, so which one cmdutil.findcmd() chooses isn't deterministic. This patch makes cmdalias assign back to '^summary|sum'. It uses the same cmdtable key lookup that extensions.wrapcommand() does.
-
- Aug 24, 2010
-
-
Yuya Nishihara authored
If hgweb.config contains wrong path mapping, hgweb causes internal server error on repository index page. This patch changes makeindex() to ignore RepoError, because it looks to be designed to suppress configuration error.
-
- Aug 25, 2010
-
-
Martin Geisler authored
-
- Jul 01, 2010
-
-
Mads Kiilerich authored
-
- Aug 23, 2010
-
-
kiilerix authored
hstuart reported problems when the local Python has been configured to do stuff and crash before reaching the expected error handler.
-
Martin Geisler authored
This fixes clones and pulls from statichttprepository repos.
-
- Aug 21, 2010
-
-
Matt Mackall authored
-
Matt Mackall authored
-
- Aug 20, 2010
-
-
Matt Mackall authored
-
- Aug 19, 2010
-
-
David Soria Parra authored
-
Patrick Mezard authored
The fallback was introduced by 3b4f05ff3130 at the same time than nlinks(). Apparently it only handles the case where target path does not exist. Just raise IOError directly.
-
Patrick Mezard authored
win32.nlinks() was often returning 1 instead of the correct hardlinks count when reading from network drives. This made commit or push to a repository on a network share to fail breaking the hardlinks in the datastore, possibly causing integrity errors in repositories linked locally on the remote side. Here is what the MSDN says about GetFileInformationByHandle(): Depending on the underlying network features of the operating system and the type of server connected to, the GetFileInformationByHandle function may fail, return partial information, or full information for the given file. In practice, we never got the correct hardlinks count when reading from and to many combinations of Window XP, 2003, Vista and 7, via network drives or RDP shares. It always returned 1 instead. The only setup returning an accurate links count was a samba on Debian. To avoid this, Mercurial now breaks the hardlinks unconditionally when writing to a network drive.
-
- Aug 18, 2010
-
-
Brodie Rao authored
The latter may not return useful results in certain OS X environments.
-
Brodie Rao authored
-
kiilerix authored
Configuration from the outer repo is inherited to the patches repo when --mq is used. In case the patches repo only has paths.default configured but the outer repo has paths.default-push then the inherited default-push will win. Very confusing. Inheriting the default paths is however wrong in all sane cases, so now we explicitly remove them.
-
- Aug 19, 2010
-
-
Dirkjan Ochtman authored
-
- Aug 17, 2010
-
-
Matt Mackall authored
-
Wagner Bruna authored
spotted by Fred Maranhão
-
- Aug 16, 2010
-
-
Wagner Bruna authored
-
Wagner Bruna authored
-
- Aug 13, 2010
-
-
Alecs King authored
Before: hg log --stat -p -r tip # only show stat After: hg log --stat -p -r tip # show stat _and_ diff
-
- Aug 17, 2010
-
-
Martin Geisler authored
-
Martin Geisler authored
-
- Aug 13, 2010
-
-
Dan Villiom Podlaski Christiansen authored
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.
-
- Aug 15, 2010
-
-
Patrick Mezard authored
-
- Aug 10, 2010
-
-
Yuya Nishihara authored
It's embeddable in plain javascript, and also conforms to JSON standard.
-
- Aug 13, 2010
-
-
Dan Villiom Podlaski Christiansen authored
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.
-
- Aug 15, 2010
-
-
Martin Geisler authored
-
Martin Geisler authored
-
- Aug 12, 2010
-
-
Wagner Bruna authored
-
- Aug 15, 2010
-
-
Martin Geisler authored
-
- Aug 14, 2010
-
-
Greg Ward authored
-
- Aug 13, 2010
-
-
kiilerix authored
-
Wagner Bruna authored
On Python 2.6.6 (and patched 2.6.5 on certain Linux distros), the change that caused issue2255 was also applied to non-digest authentication; this change extends the 2ec346160783 fix accordingly.
-