Sune Foldager <cryo@cyanite.org> [Thu, 15 Apr 2010 22:34:26 +0200] rev 10926
merge with stable
Sune Foldager <cryo@cyanite.org> [Thu, 15 Apr 2010 21:59:21 +0200] rev 10925
prepush: rewrite most of the code from scratch
For servers with branchmap support, the algorithm now works as follows:
1. A list of branches in outgoing changesets is created.
2. Using the remote branchmap, a check for new branches is performed.
3. A map (from branch to head list) of locally known remote heads before
the push is created, and one which, after step 4, will contain the locally
known remote heads after the push.
4. The post-push head map is updated with the outgoing changesets, using the
branch cache update mechanism.
5. A check for new heads is performed, by comparing the length of the head list
before and after push, for each branch. If there are new heads, an error
depending on whether or not there are incoming changes on the branch,
is returned.
6. If the push is allowed, a warning is written if there are incoming changes
on any branches involved in the push.
For old servers, an algorithm similar to step 4-6 above is used to check for
new topological heads only.
Two bugs are also fixed:
1. Sometimes you would be allowed to push new branch heads without --force.
A test for this case was added.
2. You would get the "note: unsynced remote changes!" warning if there were any
incoming changesets, even if they were on unrelated branches.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 20:25:26 +0200] rev 10924
merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 20:25:07 +0200] rev 10923
run-tests.py: can't remove from os.environ on solaris
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 19:03:03 +0200] rev 10922
merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 18:08:48 +0200] rev 10921
workingctx: correctly compute the flag for noexec filesystems+merge
This bug happens if the filesystem doesn't support exec-bit, during merges,
for example in
24ed7a541f23 on the hg repo.
If f is not in p1, but is in p2 and has the x-bit in p2, since the dirstate is
based on p1, and the FS doesn't support the exec-bit, the dirstate can't
"guess" the right bit.
We instead fix it in workingcontext.flags()/manifest.
Sune Foldager <cryo@cyanite.org> [Thu, 15 Apr 2010 17:25:37 +0200] rev 10920
localrepo: simplify _updatebranchcache slightly
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 15:35:06 +0200] rev 10919
merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 15:34:27 +0200] rev 10918
add +x to test-update-renames, removed by the merge on
24ed7a541f23
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 15:21:41 +0200] rev 10917
simplify test-
issue2137, make it more portable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 15:21:21 +0200] rev 10916
add documentation for revlog._prereadsize
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Apr 2010 13:52:41 +0200] rev 10915
merge with stable
Greg Ward <greg-hg@gerg.ca> [Wed, 14 Apr 2010 15:06:40 -0400] rev 10914
revlog: fix lazyparser.__iter__() to return all revisions (
issue2137)
Previously, it only returned revisions that were in the revlog when it
was originally opened; revisions added since then were invisible.
This broke revlog._partialmatch() and therefore repo.lookup().
(Credit to Benoit Boissinot for simplifying my original test script
and for the actual fix.)
Greg Ward <greg-hg@gerg.ca> [Tue, 13 Apr 2010 17:58:38 -0400] rev 10913
revlog: factor out _maxinline global.
This lets us change the threshold at which a *.d file will be split
out, which should make it much easier to construct test cases that
probe revlogs with a separate data file.
(
issue2137)
Sune Foldager <cryo@cyanite.org> [Wed, 14 Apr 2010 19:49:06 +0200] rev 10912
merge with stable
Sune Foldager <cryo@cyanite.org> [Wed, 14 Apr 2010 19:43:40 +0200] rev 10911
merge
Sune Foldager <cryo@cyanite.org> [Wed, 14 Apr 2010 19:43:19 +0200] rev 10910
prepush: backed out refactoring
It has some problems in corner cases and will fail on a test recently
introduced on stable. Will maybe be reintroduced later, in a better
version.
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Wed, 14 Apr 2010 19:35:54 +0200] rev 10909
prepush: add more test cases
Sune Foldager <cryo@cyanite.org> [Wed, 14 Apr 2010 19:11:35 +0200] rev 10908
prepush: fix bug in warning message selection
In certain situations you would be told "you should pull and merge" even when
there is nothing to pull.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Apr 2010 11:27:15 +0200] rev 10907
merge with stable
Steve Borho <steve@borho.org> [Tue, 13 Apr 2010 23:12:23 -0500] rev 10906
verify: improve progress descriptions
For GUIs, the progress bar is disconnected visually from the text that
is output by ui.write(), so it's better to be a little bit redundant in
naming the status. "checking" is redundant, since the user is running
the verify command. 'changesets', 'manifests', etc, tell the user what
is being checked (the entity being counted in the progress bar.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 14 Apr 2010 17:58:10 +0900] rev 10905
pylint, pyflakes: remove unused or duplicate imports
Ry4an Brase <ry4an-hg@ry4an.org> [Wed, 14 Apr 2010 00:24:47 -0500] rev 10904
Fix --blacklist when --jobs > 1 in run_tests.py.
The options parsing logic replaces the options.blacklist initial value,
a list of filenames, with a dict of test names to filenames. When
runchildren rebuilds the command line to launch child processes the dict
is flattened and provided as a malformed argument when a filename is
expected.
Fix is to remove the blacklist option from child invocations since the
filtering is handled in the parent anyway.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Apr 2010 09:09:43 +0200] rev 10903
merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Apr 2010 09:08:47 +0200] rev 10902
run-tests.py: reset env variables set by hooks
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 14 Apr 2010 08:48:26 +0200] rev 10901
checklink: use an explicit prefix for the temporary file
Greg Ward <greg-hg@gerg.ca> [Tue, 13 Apr 2010 17:58:38 -0400] rev 10900
revlog: factor out _maxinline global.
This lets us change the threshold at which a *.d file will be split
out, which should make it much easier to construct test cases that
probe revlogs with a separate data file.
(
issue2137)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 13 Apr 2010 23:04:46 +0200] rev 10899
fix test-pull after
468876bc3885
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 13 Apr 2010 22:10:24 +0200] rev 10898
merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 13 Apr 2010 22:06:17 +0200] rev 10897
revlog: put graph related functions together