Patrick Mezard <pmezard@gmail.com> [Thu, 24 Nov 2011 11:38:16 +0100] rev 15578
status: support revsets with --change
Mads Kiilerich <mads@kiilerich.com> [Fri, 25 Nov 2011 02:11:12 +0100] rev 15577
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Fri, 25 Nov 2011 02:09:48 +0100] rev 15576
largefiles: avoid use of uinitialized variable in case of errors
Mads Kiilerich <mads@kiilerich.com> [Fri, 25 Nov 2011 02:09:45 +0100] rev 15575
tests: remove unstable debugstate output in test-largefiles.t
Martin Geisler <mg@aragost.com> [Thu, 24 Nov 2011 18:22:45 +0100] rev 15574
largefiles: simplify lfutil.writehash
This was unnecessarily verbose: there is no need to unlink the file
when we open it for write anyway, and there is no need to check if the
file exists after we created it.
Martin Geisler <mg@aragost.com> [Thu, 24 Nov 2011 18:22:44 +0100] rev 15573
merge with stable
Martin Geisler <mg@aragost.com> [Thu, 24 Nov 2011 18:13:18 +0100] rev 15572
largefiles: copy files into .hg/largefiles atomically
Copying from the user cache into .hg/largefiles could fail halfway
though with a partially written file.
Martin Geisler <mg@aragost.com> [Thu, 24 Nov 2011 18:12:13 +0100] rev 15571
largefiles: write .hg/largefiles/ files atomically
Before, it was possible to create a
.hg/largefiles/hash
file with truncated content, i.e., content where
SHA-1(content) != hash
This breaks the fundamental invariant in largefiles that the file
content for files in .hg/largefiles hash to the filename.
Martin Geisler <mg@aragost.com> [Thu, 24 Nov 2011 18:11:43 +0100] rev 15570
largefiles: add comment about non-atomic working directory
When updating the working copy with a normal 'hg update', we also
don't use atomic writes.
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Nov 2011 01:49:20 +0100] rev 15569
tests: use an alias to make msys 'pwd' return paths with forward slashes
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Nov 2011 01:49:20 +0100] rev 15568
tests: skip cvs tests with msys on windows
They will fail with weird 'ssh' errors.
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Nov 2011 01:49:20 +0100] rev 15567
tests: introduce 'hghave msys' to skip tests that would fail because of msys
Matt Mackall <mpm@selenic.com> [Wed, 23 Nov 2011 16:35:17 -0600] rev 15566
merge with stable
Matt Mackall <mpm@selenic.com> [Wed, 23 Nov 2011 16:25:44 -0600] rev 15565
convert: handle trailing slashes in filemap better (
issue3124)
Matt Mackall <mpm@selenic.com> [Wed, 23 Nov 2011 14:24:56 -0800] rev 15564
tests: remove test-casecollision-i18n.t
The result of this test is quite suspect. Remove it for now as it now
correctly breaks on HFS+.
Matt Mackall <mpm@selenic.com> [Wed, 23 Nov 2011 14:22:37 -0800] rev 15563
posix: fix HFS+ percent-encoding folding
We use 'ignore' rather than 'replace' so we don't have to deal with
u+FFFD in UTF-8 round-trip.
Mads Kiilerich <mads@kiilerich.com> [Wed, 23 Nov 2011 02:44:11 +0100] rev 15562
mail: use quoted-printable for mime encoding to avoid too long lines (
issue3075)
Quoted-printable was already used for the more critical patch mails, so it
should be fine for everything else as well.
Mads Kiilerich <mads@kiilerich.com> [Wed, 23 Nov 2011 02:36:33 +0100] rev 15561
notify: add option for writing to mbox
This makes it possible to test how the mails that are sent _really_ look like.
Mads Kiilerich <mads@kiilerich.com> [Wed, 23 Nov 2011 02:11:24 +0100] rev 15560
mail: mbox handling as a part of mail handling, refactored from patchbomb
Mads Kiilerich <mads@kiilerich.com> [Wed, 23 Nov 2011 02:09:38 +0100] rev 15559
patchbomb: minor refactoring of mbox functionality, preparing for move
This allows reuse of the mbox functionality but causes minor changes in the
patchbomb console output when writing to a mbox.
Mads Kiilerich <mads@kiilerich.com> [Wed, 23 Nov 2011 03:14:24 +0100] rev 15558
tests: run check-code with warnings and maintain a whitelist
check-code has fine warning checks, but they are a bit noisy and nobody used
them.
Now the warnings will be run in the test suite, where a list of accepted
warnings will be maintained.
Those who introduce or touch a line with a warning will now have to update the
whitelist ... or fix the warning.
Mads Kiilerich <mads@kiilerich.com> [Wed, 23 Nov 2011 02:50:58 +0100] rev 15557
tests: convert test-check-code-hg.py to .t
Christian Ebert <blacktrash@gmx.net> [Wed, 23 Nov 2011 01:20:32 +0000] rev 15556
test-keyword: use inline doctest syntax
Matt Mackall <mpm@selenic.com> [Tue, 22 Nov 2011 17:34:22 -0600] rev 15555
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Nov 2011 19:56:26 +0100] rev 15554
tests: test-largefiles.t should not try to escape from $TESTTMP
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Nov 2011 19:52:23 +0100] rev 15553
largefiles: file storage should be relative to repo, not relative to cwd
Revealed by the test in
1fd126cd2d91.
Augie Fackler <durin42@gmail.com> [Tue, 22 Nov 2011 12:06:42 -0600] rev 15552
clone: don't save user's password in .hg/hgrc (Issue3122)
Matt Mackall <mpm@selenic.com> [Tue, 22 Nov 2011 17:26:32 -0600] rev 15551
posix: add extended support for OS X path folding
OS X does the following transformation on paths for comparisons:
a) 8-bit strings are decoded as UTF-8 to UTF-16
b) undecodable bytes are percent-escaped
c) accented characters are converted to NFD decomposed form, approximately
d) characters are converted to _lowercase_ using internal tables
Both (c) and (d) are done using internal tables that vary from release
to release and match Unicode specs to greater or lesser extent. We
approximate these functions using Python's internal Unicode data.
With this change, Mercurial will (in almost all cases) match OS X
folding and not report unknown file aliases for files in UTF-8 or
other encodings.
Matt Mackall <mpm@selenic.com> [Tue, 22 Nov 2011 17:26:31 -0600] rev 15550
dirstate: use util.normcase to build foldmap
Martin Geisler <mg@lazybytes.net> [Tue, 22 Nov 2011 18:16:59 +0100] rev 15549
merge with stable
Martin Geisler <mg@lazybytes.net> [Tue, 22 Nov 2011 17:51:43 +0100] rev 15548
largefiles: fix 'hg clone . ../foo' OSError abort
Operating on a non-existant file can cause both IOError and OSError,
depending on the function used: open raises IOError, os.lstat raises
OSError.
The largefiles code called dirstate.normal, which in turn calls
os.lstat, so OSError is the right exception to catch here.
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Nov 2011 01:37:26 +0100] rev 15547
tests: test-patchbomb.t cleanup
Let commit messages and file names describe the facts without making incorrect
guess of the actual handling of it.
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Nov 2011 01:37:26 +0100] rev 15546
tests: show actual output in test-patchbomb.t
Drop fixheader and decode base64 encoded content and show non-ascii content.
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Nov 2011 01:37:26 +0100] rev 15545
tests: test findexe() access check fixed in
58f96703a9ab
Mads Kiilerich <mads@kiilerich.com> [Tue, 22 Nov 2011 01:37:26 +0100] rev 15544
check-code: fix return code initialization
Don't crash when nothing is tested, but return failure when other files than
the last one fails.
Matt Mackall <mpm@selenic.com> [Mon, 21 Nov 2011 13:11:17 -0600] rev 15543
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Nov 2011 00:39:32 +0100] rev 15542
tests: make test-commandserver.py independent of line ending and slash direction
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Nov 2011 00:39:32 +0100] rev 15541
tests: make test-commandserver.py output readable
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Nov 2011 00:39:32 +0100] rev 15540
tests: 'hghave unix-permissions' for test-import.t
'hg import' of a patch with mode changes requires unix permissions support in
the file system.
Mads Kiilerich <mads@kiilerich.com> [Mon, 21 Nov 2011 00:39:32 +0100] rev 15539
tests: skip color test on platforms without tic
Mads Kiilerich <mads@kiilerich.com> [Sun, 20 Nov 2011 23:09:32 +0100] rev 15538
update: don't clobber untracked files with wrong casing
Matt Mackall <mpm@selenic.com> [Sun, 20 Nov 2011 16:07:07 -0600] rev 15537
merge with i18n
Matt Mackall <mpm@selenic.com> [Sun, 20 Nov 2011 16:06:51 -0600] rev 15536
merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 18 Nov 2011 10:21:56 -0200] rev 15535
i18n-pt_BR: synchronized with
00276525e2b7
Matt Mackall <mpm@selenic.com> [Sun, 20 Nov 2011 16:06:18 -0600] rev 15534
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Fri, 18 Nov 2011 01:32:28 +0100] rev 15533
help: Backed out changeset
e99facd2cd2a, description of file urls
This help entry didn't try to describe the 'localhost' notation. It described a
non-standard host-less notation where 'local' just was the first part of a
sample relative path. It describe "urls" with relative and absolute paths like:
file://file.txt
file:///tmp/file.txt
file://c:/tmp/file.txt
Matt Mackall <mpm@selenic.com> [Sun, 20 Nov 2011 15:29:55 -0600] rev 15532
revset: follow(nosuchfile) should give an empty set (
issue3114)
Eric Roshan Eisner <ede@alum.mit.edu> [Fri, 11 Nov 2011 11:11:11 +1111] rev 15531
subrepo: fix git status false positive (
issue3109)
It turns out there's a separate command to force git to look at file contents
if the stat has changed.