Wed, 02 Nov 2011 13:37:34 -0500 localrepo: add revs helper method
Matt Mackall <mpm@selenic.com> [Wed, 02 Nov 2011 13:37:34 -0500] rev 15403
localrepo: add revs helper method
Tue, 01 Nov 2011 16:49:30 -0500 merge with stable, reopen default branch
Matt Mackall <mpm@selenic.com> [Tue, 01 Nov 2011 16:49:30 -0500] rev 15402
merge with stable, reopen default branch
Tue, 01 Nov 2011 15:37:00 -0500 Added signature for changeset 41453d55b481 stable
Matt Mackall <mpm@selenic.com> [Tue, 01 Nov 2011 15:37:00 -0500] rev 15401
Added signature for changeset 41453d55b481
Tue, 01 Nov 2011 15:36:56 -0500 Added tag 2.0 for changeset 41453d55b481 stable
Matt Mackall <mpm@selenic.com> [Tue, 01 Nov 2011 15:36:56 -0500] rev 15400
Added tag 2.0 for changeset 41453d55b481
Tue, 01 Nov 2011 15:19:37 -0500 dirstate: don't fail when dropping a not-tracked file (issue3080) stable 2.0
Matt Mackall <mpm@selenic.com> [Tue, 01 Nov 2011 15:19:37 -0500] rev 15399
dirstate: don't fail when dropping a not-tracked file (issue3080) Complex merges with divergent renames can cause a file to be 'moved' twice, causing dirstate.drop() to be called twice. Rather than try to ensure there are no unexpected corner cases where this can happen, we simply ignore drops of files that aren't tracked.
Tue, 01 Nov 2011 12:25:54 -0700 tests: fix readline escape characters in heredoctest.py/test-url.py stable
Brodie Rao <brodie@bitheap.org> [Tue, 01 Nov 2011 12:25:54 -0700] rev 15398
tests: fix readline escape characters in heredoctest.py/test-url.py This fix mirrors the changes made to test-doctest.py in b856071435f7 and 967adcf5910d. Without this change, tests running heredoctest.py can fail on certain versions of OS X when TERM is set to xterm-256color: $ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -m heredoctest <<EOF > >>> open('b', 'w').write('this' * 1000) > EOF + \x1b[?1034h (no-eol) (esc) A similar problem occurs with test-url.py: $ ./run-tests.py test-url.py --- .../tests/test-url.py.out +++ .../tests/test-url.py.err @@ -0,0 +1 @@ + ERROR: .../test-url.py output changed ! Failed test-url.py: output changed # Ran 1 tests, 0 skipped, 1 failed.
Tue, 01 Nov 2011 12:49:06 -0500 merge with i18n stable
Matt Mackall <mpm@selenic.com> [Tue, 01 Nov 2011 12:49:06 -0500] rev 15397
merge with i18n
Mon, 31 Oct 2011 11:27:16 -0200 i18n-pt_BR: synchronized with a53888685a6c stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 31 Oct 2011 11:27:16 -0200] rev 15396
i18n-pt_BR: synchronized with a53888685a6c
Mon, 31 Oct 2011 11:24:37 -0200 merge with i18n stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 31 Oct 2011 11:24:37 -0200] rev 15395
merge with i18n
Mon, 31 Oct 2011 20:58:49 +0900 i18n-ja: synchronized with b357a972d6cd stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Mon, 31 Oct 2011 20:58:49 +0900] rev 15394
i18n-ja: synchronized with b357a972d6cd
Mon, 31 Oct 2011 21:06:18 +0900 minirst: use unicode string as intermediate form for replacement stable
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Mon, 31 Oct 2011 21:06:18 +0900] rev 15393
minirst: use unicode string as intermediate form for replacement # this change redones part of 521c8e0c93bf, backed out by 0ad0ebe67815 Some character encodings use ASCII characters other than control/alphabet/digit as a part of multi-bytes characters, so direct replacing with such characters on strings in local encoding causes invalid byte sequences. [mpm: test changed to simple doctest]
Mon, 31 Oct 2011 15:41:39 -0500 util: add a doctest for empty sha() calls stable
Matt Mackall <mpm@selenic.com> [Mon, 31 Oct 2011 15:41:39 -0500] rev 15392
util: add a doctest for empty sha() calls
Thu, 20 Oct 2011 17:24:59 -0400 largefiles: replace tempfile.NamedTemporaryFile with tempfile.mkstemp stable
Hao Lian <hao@fogcreek.com> [Thu, 20 Oct 2011 17:24:59 -0400] rev 15391
largefiles: replace tempfile.NamedTemporaryFile with tempfile.mkstemp This is consistent with the rest of Mercurial's code, mirroring the try-finally-unlink structure elsewhere. Furthermore, it fixes the case where largefiles throws an IOError on Windows when the temporary file is opened a second time by copytocacheabsolute. This patch creates the temporary file in the repo's largefiles store rather than /tmp, which might be a different filesystem.
Mon, 31 Oct 2011 14:22:11 -0500 util: allow sha1() with no args stable
Matt Mackall <mpm@selenic.com> [Mon, 31 Oct 2011 14:22:11 -0500] rev 15390
util: allow sha1() with no args Normally this works because we replace util.sha1 with hashlib.sha1 after first use, but if the first user doesn't provide an arg, it breaks.
Mon, 31 Oct 2011 14:22:11 -0500 tests: use md5sum.py instead of sha1sum, add check stable
Matt Mackall <mpm@selenic.com> [Mon, 31 Oct 2011 14:22:11 -0500] rev 15389
tests: use md5sum.py instead of sha1sum, add check
Mon, 31 Oct 2011 00:42:32 +0900 setup: set whole env for running hg even if .hg doesn't exist (issue3073) stable
Yuya Nishihara <yuya@tcha.org> [Mon, 31 Oct 2011 00:42:32 +0900] rev 15388
setup: set whole env for running hg even if .hg doesn't exist (issue3073) The issue was partially fixed by b357a972d6cd, but there were missing variables to run build_hgextindex.
Sun, 30 Oct 2011 12:10:11 -0500 keyword: backout realpath change (issue3071) stable
Matt Mackall <mpm@selenic.com> [Sun, 30 Oct 2011 12:10:11 -0500] rev 15387
keyword: backout realpath change (issue3071)
Sun, 30 Oct 2011 12:10:09 -0500 strip: backout 73307643a09f (issue3077) stable
Matt Mackall <mpm@selenic.com> [Sun, 30 Oct 2011 12:10:09 -0500] rev 15386
strip: backout 73307643a09f (issue3077)
Sat, 29 Oct 2011 17:38:13 -0500 largefiles: avoid checking requirements on every command stable
Matt Mackall <mpm@selenic.com> [Sat, 29 Oct 2011 17:38:13 -0500] rev 15385
largefiles: avoid checking requirements on every command When largefiles is enabled, commands on large repositories which don't require largefiles could be slowed down substantially. Disable checking this for every command.
Fri, 28 Oct 2011 18:50:54 +0200 largefiles: shorten test suite by using log --template stable
Na'Tosha Bard <natosha@unity3d.com> [Fri, 28 Oct 2011 18:50:54 +0200] rev 15384
largefiles: shorten test suite by using log --template
Fri, 28 Oct 2011 18:48:24 +0200 largefiles: fix bad bug where transplanting a changeset with a largefile will result in an old largefile being comitted later on stable
Na'Tosha Bard <natosha@unity3d.com> [Fri, 28 Oct 2011 18:48:24 +0200] rev 15383
largefiles: fix bad bug where transplanting a changeset with a largefile will result in an old largefile being comitted later on
Fri, 28 Oct 2011 18:17:44 +0200 largefiles: test that a largefile cannot accidentally be re-added as a regular file stable
Na'Tosha Bard <natosha@unity3d.com> [Fri, 28 Oct 2011 18:17:44 +0200] rev 15382
largefiles: test that a largefile cannot accidentally be re-added as a regular file
Sat, 29 Oct 2011 11:02:23 -0500 backout dbdb777502dc (issue3077) (issue3071) stable
Matt Mackall <mpm@selenic.com> [Sat, 29 Oct 2011 11:02:23 -0500] rev 15381
backout dbdb777502dc (issue3077) (issue3071) Using util.realpath turns out to create complex issues on both Mac and Windows. Back this change out for the release.
Fri, 28 Oct 2011 15:00:21 +0200 largefiles: fix uppercase in abort message stable
Martin Geisler <mg@aragost.com> [Fri, 28 Oct 2011 15:00:21 +0200] rev 15380
largefiles: fix uppercase in abort message
Fri, 28 Oct 2011 12:59:50 +0200 Makefile: adjust example, test-merge1 is now test-merge1.t stable
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 28 Oct 2011 12:59:50 +0200] rev 15379
Makefile: adjust example, test-merge1 is now test-merge1.t
Fri, 28 Oct 2011 12:44:19 +0200 tests: use $DAEMON_PIDS and killdaemons in largefiles test stable
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 28 Oct 2011 12:44:19 +0200] rev 15378
tests: use $DAEMON_PIDS and killdaemons in largefiles test $DAEMON_PIDS is used by tests to make sure there will be no leftover processes, the cycling through ports is needed because they are not available for a new bind that quickly on some systems. There are not enough $HGPORT variables available for each hg serve, so use the killdaemons script before reusing ports.
Fri, 28 Oct 2011 11:16:39 +0200 tests: make largefiles test use $HGPORT instead of 8001 stable
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 28 Oct 2011 11:16:39 +0200] rev 15377
tests: make largefiles test use $HGPORT instead of 8001
Thu, 27 Oct 2011 18:35:07 -0500 merge in another fix on the wrong branch stable
Matt Mackall <mpm@selenic.com> [Thu, 27 Oct 2011 18:35:07 -0500] rev 15376
merge in another fix on the wrong branch
Thu, 27 Oct 2011 11:57:08 -0700 hgweb: fix dynamic date calculation not working under Safari stable
Brodie Rao <brodie@bitheap.org> [Thu, 27 Oct 2011 11:57:08 -0700] rev 15375
hgweb: fix dynamic date calculation not working under Safari While Chrome, Firefox, and IE 6+ support the current date format being passed to Date(), Safari doesn't: > new Date('Mon Oct 24 13:58:01 2011 +0200') Invalid Date However, the rfc822date format--officially supported by ECMAScript[1]--does work: > new Date('Mon, 24 Oct 2011 13:58:01 +0200') Mon Oct 24 2011 04:58:01 GMT-0700 (PDT) This change replaces all instances of {date|date} in HTML with {date|rfc822date}. For elements that only have the "age" class, there's no outward change for users with JavaScript enabled. For elements with both the "age" and "date" classes, the full date displayed uses the new format. Tested in IE 6, Safari 5.1.1, Google Chrome 15, and Firefox 7.0.1. [1]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/parse
Thu, 27 Oct 2011 18:15:34 -0500 tests: fix spurious largefiles test failure on Cygwin stable
Matt Mackall <mpm@selenic.com> [Thu, 27 Oct 2011 18:15:34 -0500] rev 15374
tests: fix spurious largefiles test failure on Cygwin
Wed, 26 Oct 2011 18:47:12 +0200 revert: fix missing removes when parent was changed in dirstate stable
Peer Stritzinger <peer@stritzinger.com> [Wed, 26 Oct 2011 18:47:12 +0200] rev 15373
revert: fix missing removes when parent was changed in dirstate When dirstate parent is changed with dirstate.setparent before a revert so it no longer points to where the dirstate refered to, revert does not remove all files it should: Revert to a different revision needs also to remove files that are not found through disptables and not in the context or parent manifest.
Thu, 27 Oct 2011 17:22:04 -0500 check-code: fix issues with finding patterns in unified tests, fix tests stable
Matt Mackall <mpm@selenic.com> [Thu, 27 Oct 2011 17:22:04 -0500] rev 15372
check-code: fix issues with finding patterns in unified tests, fix tests - old-style patterns without ^ were getting improperly anchored - finditer was matching against beginning of line poorly - \s was matching newlines - [^x] was matching newlines so we: - remove earlier hacks for multiline matching - fix unified test anchoring by adding .* - replace \s with [ \t] - replace [^x] with [^\nx] - force all matches into multiline mode so ^ anchors work This uncovers a number of test issues that are then repaired.
Tue, 25 Oct 2011 11:45:28 -0400 largefiles: remove lfutil.createdir, replace calls with util.makedirs stable
Hao Lian <hao@fogcreek.com> [Tue, 25 Oct 2011 11:45:28 -0400] rev 15371
largefiles: remove lfutil.createdir, replace calls with util.makedirs
Wed, 26 Oct 2011 14:22:19 -0500 largefiles: fix typo stable
Eli Carter <eli.carter@tektronix.com> [Wed, 26 Oct 2011 14:22:19 -0500] rev 15370
largefiles: fix typo
Wed, 26 Oct 2011 13:48:33 -0500 largefiles: bugfix for symlink handling with testcase stable
Eli Carter <eli.carter@tektronix.com> [Wed, 26 Oct 2011 13:48:33 -0500] rev 15369
largefiles: bugfix for symlink handling with testcase The code was using the size of a symlink's target, thus wrongly making symlinks to large files into largefiles themselves. This can be demonstrated by deleting the symlink and then doing an 'hg up' or 'hg up -C' to restore the symlink.
Wed, 26 Oct 2011 22:35:15 +0200 i18n-it: fixed wrong message
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Wed, 26 Oct 2011 22:35:15 +0200] rev 15368
i18n-it: fixed wrong message
Wed, 26 Oct 2011 12:56:27 -0500 setup: set env global earlier (3073) stable
Matt Mackall <mpm@selenic.com> [Wed, 26 Oct 2011 12:56:27 -0500] rev 15367
setup: set env global earlier (3073)
Tue, 25 Oct 2011 08:56:59 -0400 largefiles: test reverting largefiles (coverage creeping ever upwards) stable
Greg Ward <greg@gerg.ca> [Tue, 25 Oct 2011 08:56:59 -0400] rev 15366
largefiles: test reverting largefiles (coverage creeping ever upwards) This reveals a small bug: revert reports "reverting .hglf/largefile" when it really should report "reverting largefile". I don't see an easy fix, though (short of using ui.pushbuffer() to interfere with revert's output).
Mon, 24 Oct 2011 21:33:23 -0400 largefiles: test "update --check" stable
Greg Ward <greg@gerg.ca> [Mon, 24 Oct 2011 21:33:23 -0400] rev 15365
largefiles: test "update --check" It works fine; I'm just getting the test coverage up.
Wed, 26 Oct 2011 12:56:27 -0500 tests: fix check-code detection of anchored expressions, fix echo -n usage stable
Matt Mackall <mpm@selenic.com> [Wed, 26 Oct 2011 12:56:27 -0500] rev 15364
tests: fix check-code detection of anchored expressions, fix echo -n usage
Mon, 24 Oct 2011 13:41:19 +0200 diffstat: be more picky when marking file as 'binary' (issue2816) stable
Patrick Mezard <pmezard@gmail.com> [Mon, 24 Oct 2011 13:41:19 +0200] rev 15363
diffstat: be more picky when marking file as 'binary' (issue2816) The 'Bin' marker was added to every changed file for which we could not find any diff changes. This included binary files but also copy/renames and mode changes. Since Mercurial regular diff format emits a 'Binary file XXX has changed' line when fed with binary files, we use that and the usual git marker to tell them from other cases. In particular, new empty files are no longer reported as binary. Still, this fix is not complete since copy/renames/mode changes are now reported as '0' lines changes, instead of 'Bin'.
Mon, 24 Oct 2011 10:41:10 -0200 i18n-pt_BR: synchronized with b74f74b482d8 stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 24 Oct 2011 10:41:10 -0200] rev 15362
i18n-pt_BR: synchronized with b74f74b482d8
Mon, 24 Oct 2011 17:01:49 -0500 graft: add a test stable
Matt Mackall <mpm@selenic.com> [Mon, 24 Oct 2011 17:01:49 -0500] rev 15361
graft: add a test
Mon, 24 Oct 2011 16:57:14 -0500 graft: fix duplicate filter logic stable
Matt Mackall <mpm@selenic.com> [Mon, 24 Oct 2011 16:57:14 -0500] rev 15360
graft: fix duplicate filter logic
Mon, 24 Oct 2011 16:57:14 -0500 graft: fix duplicate scan message stable
Matt Mackall <mpm@selenic.com> [Mon, 24 Oct 2011 16:57:14 -0500] rev 15359
graft: fix duplicate scan message
Mon, 24 Oct 2011 16:57:14 -0500 util: don't complain about '..' in path components not working on Windows stable
Matt Mackall <mpm@selenic.com> [Mon, 24 Oct 2011 16:57:14 -0500] rev 15358
util: don't complain about '..' in path components not working on Windows
Mon, 24 Oct 2011 12:09:12 -0500 graft: fix formatting of message stable
Matt Mackall <mpm@selenic.com> [Mon, 24 Oct 2011 12:09:12 -0500] rev 15357
graft: fix formatting of message
Mon, 24 Oct 2011 13:58:01 +0200 largfiles: drop unused import stable
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 24 Oct 2011 13:58:01 +0200] rev 15356
largfiles: drop unused import
Mon, 24 Oct 2011 13:51:24 +0200 consistency: use util.realpath instead of os.path.realpath where useful stable
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 24 Oct 2011 13:51:24 +0200] rev 15355
consistency: use util.realpath instead of os.path.realpath where useful exceptions: hg: os.path.realpath used before util can be imported tests/run-tests.py: may not import mercurial modules
Mon, 24 Oct 2011 13:54:59 +0200 keyword: use util.realpath instead of os.path.realpath stable
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 24 Oct 2011 13:54:59 +0200] rev 15354
keyword: use util.realpath instead of os.path.realpath This makes test-keyword.t pass on Python 2.4.1 (e.g. Debian sarge)
Mon, 24 Oct 2011 13:32:23 +0200 posix: workaround for os.path.realpath bug in Python 2.4.1 and before stable
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 24 Oct 2011 13:32:23 +0200] rev 15353
posix: workaround for os.path.realpath bug in Python 2.4.1 and before os.path.realpath didn't resolve symlinks that were the first component of the path, see http://bugs.python.org/issue1213894
Mon, 24 Oct 2011 10:08:58 +0200 largefiles: improve markup in module help text stable
Martin Geisler <mg@aragost.com> [Mon, 24 Oct 2011 10:08:58 +0200] rev 15352
largefiles: improve markup in module help text
Mon, 24 Oct 2011 09:54:02 +0200 largefiles: remove redundant documentation stable
Martin Geisler <mg@aragost.com> [Mon, 24 Oct 2011 09:54:02 +0200] rev 15351
largefiles: remove redundant documentation The extension help text already covered what was in usage.txt and design.txt is now moved to the wiki: http://mercurial.selenic.com/wiki/LargefilesExtension
Sun, 23 Oct 2011 14:25:48 -0400 largefiles: use ui.configpath() where appropriate stable
Greg Ward <greg@gerg.ca> [Sun, 23 Oct 2011 14:25:48 -0400] rev 15350
largefiles: use ui.configpath() where appropriate
Sun, 23 Oct 2011 10:23:31 -0400 largefiles: drop more unnecessary compatibility checks stable
Greg Ward <greg@gerg.ca> [Sun, 23 Oct 2011 10:23:31 -0400] rev 15349
largefiles: drop more unnecessary compatibility checks
Sun, 23 Oct 2011 16:32:27 -0500 windows: sanity-check symlink placeholders stable
Matt Mackall <mpm@selenic.com> [Sun, 23 Oct 2011 16:32:27 -0500] rev 15348
windows: sanity-check symlink placeholders On Windows, we store symlinks as plain files with the link contents. Via user error or NFS/Samba assistance, these files often end up with 'normal' file contents. Committing these changes thus gives an invalid symlink that can't be checked out on Unix. Here we filter out any modified symlink placeholders that look suspicious when computing status: - more than 1K (looks more like a normal file) - contain NULs (not allowed on Unix, probably a binary) - contains \n (filenames can't contain \n, very unusual for symlinks, very common for files)
Sun, 23 Oct 2011 21:59:15 +0200 largefiles: use util.sha1() instead of hashlib.sha1() everywhere stable
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 23 Oct 2011 21:59:15 +0200] rev 15347
largefiles: use util.sha1() instead of hashlib.sha1() everywhere
Sun, 23 Oct 2011 21:22:55 +0200 tests: check for svn >= 1.3 and >= 1.5 in tests that require those versions stable
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 23 Oct 2011 21:22:55 +0200] rev 15346
tests: check for svn >= 1.3 and >= 1.5 in tests that require those versions
Sat, 22 Oct 2011 23:42:48 +0200 convert: add missing import of util, needed for svn < 1.6 stable
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 22 Oct 2011 23:42:48 +0200] rev 15345
convert: add missing import of util, needed for svn < 1.6
Sat, 22 Oct 2011 23:21:38 +0200 run-tests: make sure no_proxy/NO_PROXY are empty to fix test-http-proxy.t stable
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 22 Oct 2011 23:21:38 +0200] rev 15344
run-tests: make sure no_proxy/NO_PROXY are empty to fix test-http-proxy.t If no_proxy (or NO_PROXY) includes localhost, the test for detecting an unreachable proxy fails, because the proxy setting is ignored.
Sat, 22 Oct 2011 15:39:51 -0400 largefiles: test "lfconvert --to-normal" with rename/remove/merge stable
Greg Ward <greg@gerg.ca> [Sat, 22 Oct 2011 15:39:51 -0400] rev 15343
largefiles: test "lfconvert --to-normal" with rename/remove/merge This gets us very close to full test coverage of lfconvert. The only features not tested are: - .hgtags conversion - abort when largefile becomes symlink
Sat, 22 Oct 2011 15:16:52 -0400 largefiles: test lfconvert with rename, remove, and merge stable
Greg Ward <greg@gerg.ca> [Sat, 22 Oct 2011 15:16:52 -0400] rev 15342
largefiles: test lfconvert with rename, remove, and merge
Sat, 22 Oct 2011 14:52:05 -0400 largefiles: beef up test-lfconvert.t so it's more thorough stable
Greg Ward <greg@gerg.ca> [Sat, 22 Oct 2011 14:52:05 -0400] rev 15341
largefiles: beef up test-lfconvert.t so it's more thorough - instead of converting a single changeset with a single file, convert two changesets which each add a mix of normal and large files - make one of the large files not-so-large, but identified as large by filename - use shorter, simpler filenames - put some files in a subdirectory - test that file contents are correctly converted - drop unnecessary cleanup step
Sat, 22 Oct 2011 14:20:17 -0400 largefiles: rearrange how lfconvert detects non-local repos stable
Greg Ward <greg@gerg.ca> [Sat, 22 Oct 2011 14:20:17 -0400] rev 15340
largefiles: rearrange how lfconvert detects non-local repos Mainly this is so we can test that code; it has the side benefit of not requiring network I/O to reject non-local repo URLs.
(0) -10000 -3000 -1000 -300 -100 -64 +64 +100 +300 +1000 +3000 +10000 +30000 tip