Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 23 Mar 2008 21:03:24 -0300] rev 6371
don't use hasattr in repo.invalidate
hasattr ends up calling __getattr__ which will instantiate the very
attributes we want to remove.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 23 Mar 2008 21:03:24 -0300] rev 6370
localrepo.commit: grab locks before getting the list of files to commit
Somebody may change the dirstate after we've determined the parents of
the working dir and run repo.status, but before we called wlock().
This should also fix
issue997, where backout would change a file without
changing its size and then call repo.commit without passing the list of
files. If this happened in less than one second, we wouldn't detect any
file changes - the in-memory dirstate still has the cached stat data for
that file. Grabbing the wlock early causes the dirstate to be
invalidated and we end up reading the dirstate file again, which has
that file marked for lookup (size == -1).
A better fix would be for backout to give repo.commit the exact list of
files, but that'll require some changes to the revert operation.
A significant user-visible change is that the precommit hook is always
run with both locks grabbed - previously, hg commit would run it before
grabbing any locks, but hg import would run it after grabbing locks.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 23 Mar 2008 21:03:24 -0300] rev 6369
Avoid calling heads() twice on every hg commit.
In an extreme case (merging two revisions with very low revision numbers)
this could be slower than the previous code, but it should be much faster
in the usual cases (parents are near the tip). It also avoids some races
in some uninteresting cases (e.g. two concurrent hg commits).
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 23 Mar 2008 23:08:18 +0100] rev 6368
hgweb: better error messages
Patrick Mezard <pmezard@gmail.com> [Sun, 23 Mar 2008 22:15:47 +0100] rev 6367
Remove unexpected "Alternately" word from tip help.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 23 Mar 2008 21:48:38 +0100] rev 6366
run-tests.py: Allow environment variables to set jobs/timeout/port.
Patrick Mezard <pmezard@gmail.com> [Sun, 23 Mar 2008 21:41:03 +0100] rev 6365
convertrepo: make it work with refactored convert extension
Patrick Mezard <pmezard@gmail.com> [Sun, 23 Mar 2008 21:40:27 +0100] rev 6364
Make tip help more helpful
Patrick Mezard <pmezard@gmail.com> [Sun, 23 Mar 2008 20:37:04 +0100] rev 6363
test-imerge: test resolve subcommand
Patrick Mezard <pmezard@gmail.com> [Sun, 23 Mar 2008 20:37:02 +0100] rev 6362
imerge: replace "merge" with "internal:merge" when non-interactive
Patrick Mezard <pmezard@gmail.com> [Sun, 23 Mar 2008 18:52:02 +0100] rev 6361
hgk: display orphan revisions content (issue 1041)
Patrick Mezard <pmezard@gmail.com> [Sun, 23 Mar 2008 16:07:27 +0100] rev 6360
test-mq-symlinks: skip if symlinks are not supported
Florent Guillaume <fg@nuxeo.com> [Sun, 23 Mar 2008 01:23:03 +0100] rev 6359
test-notify: make it pass on Mac OS X 10.5
Florent Guillaume <fg@nuxeo.com> [Sun, 23 Mar 2008 01:13:56 +0100] rev 6358
test-remove: make tests really pass
Ah, the joys of cross-platform shell scripting...
Florent Guillaume <fg@nuxeo.com> [Sun, 23 Mar 2008 01:04:51 +0100] rev 6357
test-remove: fix for non-gnu find
Florent Guillaume <fg@nuxeo.com> [Sat, 22 Mar 2008 21:13:22 +0100] rev 6356
test-remove: make it pass on Mac OS X 10.5
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 22 Mar 2008 20:16:30 +0100] rev 6355
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 22 Mar 2008 18:33:10 +0100] rev 6354
tests: add tests for hgweb to test-keyword
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 22 Mar 2008 20:15:30 +0100] rev 6353
Merge main and crew.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 22 Mar 2008 20:03:00 +0100] rev 6352
removed trailing spaces
Matt Mackall <mpm@selenic.com> [Sat, 22 Mar 2008 13:50:59 -0500] rev 6351
ui: disallow newlines in usernames (
issue1034)
Matt Mackall <mpm@selenic.com> [Sat, 22 Mar 2008 13:30:08 -0500] rev 6350
update: no -C needed to switch branches without outstanding changes
Patrick Mezard <pmezard@gmail.com> [Sat, 22 Mar 2008 19:01:09 +0100] rev 6349
coverage: deal with symlinked input paths (MacOSX issue)
/tmp is symlinked in MacOSX therefore test scripts as well as python modules
are installed in a symlinked location. coverage.py uses abspath() to normalize
its inputs which fails if these are referencing real paths. Use realpath()
instead.
Patrick Mezard <pmezard@gmail.com> [Sat, 22 Mar 2008 18:01:46 +0100] rev 6348
Make churn an official extension
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 22 Mar 2008 12:48:15 +0100] rev 6347
tiny tab cleanup
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 22 Mar 2008 10:07:49 +0100] rev 6346
improved semantics for remove (
issue438)
- Added files are never deleted (only removed with --force).
- Modified files can only be removed with --force.
- With --after, only deleted files are removed.
- With --after --force, all files are removed but not deleted.
Matt Mackall <mpm@selenic.com> [Fri, 21 Mar 2008 17:22:47 -0500] rev 6345
test: fix mixing exec bit on test-hgwebdirsym
Matt Mackall <mpm@selenic.com> [Fri, 21 Mar 2008 15:57:22 -0500] rev 6344
tests: make test-rebuildstate repeatable
Matt Mackall <mpm@selenic.com> [Fri, 21 Mar 2008 15:57:22 -0500] rev 6343
tests: teach -i about fails list
Matt Mackall <mpm@selenic.com> [Fri, 21 Mar 2008 15:57:22 -0500] rev 6342
tests: make test-convertcvs repeatable
Eric Hopper <hopper@omnifarious.org> [Fri, 21 Mar 2008 08:46:15 -0700] rev 6341
test: Add tests for webdir symlinks and walkrepos.
Matt Mackall <mpm@selenic.com> [Fri, 21 Mar 2008 15:44:11 -0500] rev 6340
mq: warn when applying a patch to somewhere other than tip