Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Nov 2011 03:45:14 +0100] rev 15516
tests: add missing 'hghave unix-permissions'
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Nov 2011 03:45:14 +0100] rev 15515
tests: remove hacks for testing if file or directory exists
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Nov 2011 03:45:06 +0100] rev 15514
tests: don't leave temporary directories without write permission behind
Matt Mackall <mpm@selenic.com> [Thu, 17 Nov 2011 16:53:17 -0600] rev 15513
merge with stable
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> [Wed, 16 Nov 2011 08:34:36 +0100] rev 15512
hook: flush stdout before redirecting to stderr
When hook output redirection is enabled (e.g. when cloning over ssh), hook
output on stdout is redirected to stderr, to prevent the repository data on
stdout from being corrupted.
In certain cases, the redirection could cause part of the repository data to
end up on stderr as well. In case of a clone, this causes:
"abort: consistency error in delta!"
This was seen with a clone over ssh, an outgoing hook present (any
non-python type, e.g. 'pwd'), on certain repositories only,
probably depending on the distribution of the sent data)
This patch updates the hook redirection code to flush stdout before
redirecting, removing the problem.
Patrick Mezard <pmezard@gmail.com> [Wed, 16 Nov 2011 12:53:10 +0100] rev 15511
import: fix parent selection when importing merges
With "wp1" and "wp2" the current working directory parents, "p1" and "p2" the
patch parents and "parents" the resulting commit parents, the current behaviour
is:
--bypass --exact p2 parents
0 0 0 [wp1, wp2]
0 0 1 [wp1, wp2]/buggy
0 1 0 [p1]
0 1 1 [p1, p2]
1 0 0 [wp1, wp2]
1 0 1 [p1, p2]
1 1 0 [p1]
1 1 1 [p1, p2]
The original behaviour before
f53dc0787424 was:
--bypass --exact p2 parents
0 0 0 [wp1, wp2]
0 0 1 if p1 == wp1 then [p1, p2] otherwise [wp1, wp2]
0 1 0 [p1]
0 1 1 [p1, p2]
This patch restores the previous behaviour when --bypass is not set, and align
--bypass behaviour when --exact is not set with merge diffs.
Patrick Mezard <pmezard@gmail.com> [Mon, 14 Nov 2011 18:16:01 +0100] rev 15510
patch: simplify hunk extents parsing
Do not capture unwanted groups in regexps
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Nov 2011 21:37:14 +0100] rev 15509
diff: --ignore-blank-lines was too enthusiastic
It was ignoring changes from:
ab
to:
a
b
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Sat, 12 Nov 2011 14:00:25 +0100] rev 15508
graft: disallow grafting grafted csets in specific situations (
issue3091)
In particular, we do not allow:
- grafting an already grafted cset onto its original branch
- grafting already grafted csets with the same origin onto each other
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Sat, 12 Nov 2011 11:23:52 +0100] rev 15507
graft: use revs to make tests more readable
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Sat, 12 Nov 2011 13:15:40 +0100] rev 15506
graft: preserve original source in subsequent grafts
Dmitry Panov <dop@itoolabs.com> [Sun, 13 Nov 2011 00:29:26 +0000] rev 15505
makedate: wrong timezone offset if DST rules changed this year (
issue2511)
Python's time module sets timezone and altzone based on UTC offsets of
two dates: first and middle day of the current year. This approach
doesn't work on a year when DST rules change.
For example Russia abandoned winter time this year, so the correct UTC
offset should be +4 now, but time.timezone returns 3 hours difference
because that's what it was on 01.01.2011.
Related python issue: http://bugs.python.org/
issue1647654
Marc-Antoine Ruel <maruel@google.com> [Thu, 17 Nov 2011 15:44:37 -0600] rev 15504
posix: fix findexe() to check for file type and access
Mads Kiilerich <mads@kiilerich.com> [Tue, 15 Nov 2011 02:44:55 +0100] rev 15503
forget: use forward slashes for internal paths
forget into a subrepo failed on windows because pathes were joined with \.
Mads Kiilerich <mads@kiilerich.com> [Fri, 11 Nov 2011 01:25:47 +0100] rev 15502
check-code: add --nolineno option for hiding line numbers
This makes the output more stable when it is used as a whitelist.
Matt Mackall <mpm@selenic.com> [Wed, 16 Nov 2011 18:04:19 -0600] rev 15501
merge: give a special message for internal:merge failure (
issue3105)
Simon Heimberg <simohe@besonet.ch> [Sat, 12 Nov 2011 02:08:01 +0100] rev 15500
setup: raise when executing with python3 without c2to3 argument
Marc-Antoine Ruel <maruel@google.com> [Wed, 16 Nov 2011 17:55:32 -0600] rev 15499
posix: fix findexe() to check for file type and access
Mads Kiilerich <mads@kiilerich.com> [Tue, 15 Nov 2011 02:16:30 +0100] rev 15498
subrepo: use correct paths for subrepos with ..-relative paths on windows
posixpath normpath of c:\foo\bar/../baz is baz, so now we pconvert first.
Mads Kiilerich <mads@kiilerich.com> [Fri, 11 Nov 2011 01:07:10 +0100] rev 15497
add missing localization markup
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Nov 2011 00:10:56 +0100] rev 15496
url: handle file://localhost/c:/foo "correctly"
The path was parsed correctly, but localpath prepended an extra '/' (as in
'/c:/foo') because it assumed it was an absolute unix path.
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Nov 2011 00:10:52 +0100] rev 15495
help: it is 'file://localhost/', not 'file://local/'
The documentation has apparently always been wrong.
Simon Heimberg <simohe@besonet.ch> [Sun, 21 Aug 2011 15:23:43 +0200] rev 15494
setup: support executing with python3 including 2to3
Merge the code from contrib/setup3.py in setup.
The argument for executing is marked as experimental.
Reason: The file in contrib was outdated (packages, cmdclass, ...)
Simon Heimberg <simohe@besonet.ch> [Tue, 01 Nov 2011 20:13:53 +0100] rev 15493
setup: hgbuildmo inherits from Command
hgbuildmo does not need anything provided by the build class.
Simon Heimberg <simohe@besonet.ch> [Sat, 12 Nov 2011 02:07:55 +0100] rev 15492
setup: make script executable with python3
Replace the incompatible print statement. Writing a warning to stderr is a good
idea anyway.
Kevin Bullock <kbullock@ringworld.org> [Wed, 17 Aug 2011 08:55:01 -0500] rev 15491
bookmark: remove excess creation of changectx's
Kevin Bullock <kbullock@ringworld.org> [Wed, 17 Aug 2011 08:49:40 -0500] rev 15490
bookmark: same order for options and code
Matt Mackall <mpm@selenic.com> [Tue, 15 Nov 2011 14:33:06 -0600] rev 15489
merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 15 Nov 2011 14:25:11 -0600] rev 15488
dirstate: fix case-folding identity for traditional Unix
We used to use os.path.normcase which was a no-op, which was unhelpful
for cases like VFAT on Linux.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 15 Nov 2011 17:16:17 +0100] rev 15487
convert/bzr: fix test of divergent nested renames for bzr 1.x
54c0517c0fe8 introduced a new block in test-convert-bzr-directories.t
which produces a slightly different output with older bzr versions.
Tested with bzr 1.5 on Debian lenny.