- May 02, 2011
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
- Apr 18, 2011
-
-
jfh authored
Catch a case where the termwidth was being reported as 0 when I was connecting with TLMTask instead of NSTask in OSX. This caused the progress extension to print no progress. The termwidth should never return 0 so in case we would return 0, simply fall back to the default termwidth below which is 80.
-
- May 02, 2011
-
-
Peter Arrenbrecht authored
Adds a new discovery method based on repeatedly sampling the still undecided subset of the local node graph to determine the set of nodes common to both the client and the server. For small differences between client and server, it uses about the same or slightly fewer roundtrips than the old tree-based discovery. For larger differences, it typically reduces the number of roundtrips drastically (from 150 to 4, for instance). The old discovery code now lives in treediscovery.py, the new code is in setdiscovery.py. Still missing is a hook for extensions to contribute nodes to the initial sample. For instance, Augie's remotebranches could contribute the last known state of the server's heads. Credits for the actual sampler and computing common heads instead of bases go to Benoit Boissinot.
-
Peter Arrenbrecht authored
This drops the options to run arbitrary shell commands within commits and the option to create a file that gets appended to in every revision. It now supports to not write file data at all, which is very fast for generating a pure 00changelog.i (useful for discovery tests, for instance). Timings for 1000 linear nodes: * Old `hg debugbuilddag -o '+1000'` took 4.5 secs. * New `hg debugbuilddag -o '+1000'` takes 2 secs. * New `hg debugbuilddag '+1000'` takes 0.8 secs. (The last one creates only 00changelog.i).
-
Peter Arrenbrecht authored
This speeds up the in-memory version of debugbuilddag that I'm working on considerably for the case where we want to build just a 00changelog.i (for discovery tests, for instance). There are a couple of test changes because node ids in tests have changed. The changes to the patch names in test-mq-qdelete.t were required because they could collide with nodeid abbreviations and newly actually do (patch "c" collides with id "cafe..." for patch "b").
-
Peter Arrenbrecht authored
Fixes the regression where incoming could show local changes introduced by rev 72c84f24b420.
-
- May 01, 2011
-
-
Adrian Buehlmann authored
-
Pascal Quantin authored
-
Matt Mackall authored
-
Yuya Nishihara authored
-
Dan Villiom Podlaski Christiansen authored
-
kiilerix authored
All tests repeatedly passes with 3a3584967a93 on some machines, but on other machines it regularly causes failure in test-mv-cp-st-diff.t, such as: @@ -203,6 +203,7 @@ - working to root: --rev 0 M a + M x/x A b a
-
Sune Foldager authored
-
kiilerix authored
When limit, last, min and max were evaluated they worked on a reduced set in the wrong way. Now they work on an unrestricted set (the whole repo) and get limited later on.
-
kiilerix authored
-
kiilerix authored
The previous behaviour was almost as if convert.hg.ignoreerrors was always set for revisions without parents, except that errors were silently ignored. Revlog errors are handled as a side effect of getcopies(), but getcopies() was only called when convert.hg.ignoreerrors was set. Now we always call self.getcopies for root revisions, not only when convert.hg.ignoreerrors is set, just like we do on all other revisions. The extra call might be a bit expensive, but the proper fix for that would be to catch these errors in another way.
-
- Feb 24, 2011
-
-
kiilerix authored
The manifest value of a file will never be false when "not parentworking", and the expensive content comparision would thus fortunately never be reached. (If it was reached it would be wrong for example in case of renames.) This code once handled status against working directory, but that has been done elsewhere for a long time.
-
- Mar 07, 2011
-
-
kiilerix authored
This can currently be tested on http://sf.net/
-
kiilerix authored
Before the fine exception handling in httprepo was never shown. The static-http exception will now only be shown when static-http is requested explicitly.
-
- May 01, 2011
-
-
kiilerix authored
-
kiilerix authored
-
Dan Villiom Podlaski Christiansen authored
-
- Apr 30, 2011
-
-
Benoit Boissinot authored
Add header parsing for changelog and manifest (currently no headers might change for next-gen bundle).
-
Benoit Boissinot authored
-
Benoit Boissinot authored
-
Benoit Boissinot authored
-
- May 01, 2011
- Apr 30, 2011
-
-
Adrian Buehlmann authored
and cleaning up portability functions
-
- May 01, 2011
-
-
timeless authored
-
timeless authored
-
timeless authored
-
Augie Fackler authored
-
Patrick Mezard authored
The grapher cannot really handled revisions if they are not emitted in topological order. The previous 'reverse()' revset was not enough to achieve that and was replaced by an explicit sort call for simplicity. The --limit option is now also handled as usual with cmdutil.loglimit() instead of a 'limit' revset.
-
Patrick Mezard authored
-
Patrick Mezard authored
The grandparent() function was returning only the closest predecessor of a missing parent while it must return all of them to display a correct ancestry graph.
-
Patrick Mezard authored
While nodes with more than 2 parents do not exist in revision graphs, they do appear when you transform them by removing subgraphs while trying to preserve ancestry links. This code was borrowed from Peter Arrenbrecht <peter.arrenbrecht@gmail.com> pbranch extension.
-
Matt Mackall authored
This avoids needing to call status or build a synthetic manifest.
-
Matt Mackall authored
-