- May 15, 2015
-
-
Matt Mackall authored
-
- May 13, 2015
-
-
Katsunori FUJIWARA authored
This is a preparation for subsequent patches, which expect that all locally defined (= mercurial specific) modules are already known before examinations. Looping twice for specified modules is a little redundant, but reasonable cost for improvement in subsequent patches.
-
Katsunori FUJIWARA authored
Before this patch, "import-check.py" is invoked via "xargs" in "test-module-imports.t", but it doesn't ensure that "import-checker.py" is certainly invoked with all mercurial specific files at once. "xargs" may invoke specified command multiple times with part of arguments given from stdin: according to "xargs(1)" man page, this dividing arguments is system-dependent. This patch adds "xargs" like mode to "import-checker.py". This can ensure that "import-checker.py" is certainly invoked with all mercurial specific files at once in "test-module-imports.t". This is assumed by subsequent patches.
-
Pierre-Yves David authored
We dropped python 2.4 compatibility.
-
Pierre-Yves David authored
Python 2.4 compatibility has been dropped.
-
Pierre-Yves David authored
This is required to move forward on python3 compatibility.
-
- May 12, 2015
-
-
Matt Harbison authored
There's plenty of other cleanup to do in here, but this specific one is used in the next patch.
-
- May 09, 2015
-
-
Pierre-Yves David authored
We are about to drop 2.4 requirement in Mercurial's setup.py, we bump rpm dependency first for the sake of smaller changeset. Clean up of the spec file can come after the dependency is actually dropped.
-
Steve Borho authored
-
- May 06, 2015
-
-
Augie Fackler authored
Currently only supports jessie (current stable), but other version should be trivial.
-
- May 07, 2015
-
-
Augie Fackler authored
-
- May 06, 2015
-
-
Augie Fackler authored
Future work will allow us to use docker to build debs. Right now this doesn't install any config files. I plan to do that as a followup, but getting something basic and working checked in seems like more of a priority than getting everything done in one big step. This also does not create a source deb yet. I haven't looked into that process. Note that this declares incompatibility with the `mercurial-common` package. It's typical for debian packages to be split between architecture-independent bits and native bits, meaning the python bits downstream live in mercurial-common and the c extension bits live in mercurial. We don't do that because we want to (ideally) give users a single deb file to install.
-
Augie Fackler authored
This allows me to build rpm packages using boot2docker on my Mac. It's probably a very fragile hack, but it seems to work well enough for now that I felt it was worth sharing.
-
Augie Fackler authored
This helps contain all the logic around creating containers.
-
Augie Fackler authored
I'm about to start interacting with docker for Debian packaging too, so it's time to centralize this so that any bugfixes I figure out apply to both codepaths.
-
- Oct 11, 2014
-
-
Pierre-Yves David authored
We were manually creating a base with explicit subset testing. We should let smartset magic happen and optimise that logic if needed. benchmark show some massive speedup when "parents set" is huge and "subset" is small. revset: 42:68 and roots(42:tip) 0) wall 0.011322 comb 0.010000 user 0.010000 sys 0.000000 (best of 161) 1) wall 0.002282 comb 0.010000 user 0.010000 sys 0.000000 (best of 1082) Minor speedup in simple case (were fullreposet helps) revset: roots(0::tip) 0) wall 0.095688 comb 0.100000 user 0.100000 sys 0.000000 (best of 85) 1) wall 0.084448 comb 0.080000 user 0.080000 sys 0.000000 (best of 95) revset: roots((0:tip)::) 0) wall 0.146752 comb 0.140000 user 0.140000 sys 0.000000 (best of 58) 1) wall 0.143538 comb 0.140000 user 0.140000 sys 0.000000 (best of 59) And small overhead then the "parents set" is fairly complicated (transforming it into a revset once and for all appears to be faster). revset: roots((tip~100::) - (tip~100::tip)) 0) wall 0.004652 comb 0.010000 user 0.010000 sys 0.000000 (best of 544) 1) wall 0.004878 comb 0.010000 user 0.010000 sys 0.000000 (best of 479) revset: roots((0::) - (0::tip)) 0) wall 0.146587 comb 0.150000 user 0.150000 sys 0.000000 (best of 53) 1) wall 0.157192 comb 0.160000 user 0.160000 sys 0.000000 (best of 53) revset: first(roots((0::) - (0::tip))) 0) wall 0.152924 comb 0.150000 user 0.150000 sys 0.000000 (best of 57) 1) wall 0.153192 comb 0.160000 user 0.160000 sys 0.000000 (best of 55)
-
- Apr 23, 2015
-
-
Pascal Quantin authored
Duplicate the modification done in 6e38b6fc4123 for wix installer so that CA certificates loading works fine with Python 2.7.9+.
-
Yuya Nishihara authored
It should not be included in the Windows installers because it prevents loading CA certificates from the system store on Python 2.7.9, implemented by 760a86865f80. The msi packages bundles Python 2.7.9, so cacert.pem is no longer necessary. Backed out changeset e5c2338d76b5
-
- Apr 22, 2015
-
-
Katsunori FUJIWARA authored
Since Python 2.7.9, "os.path.join(path, '')" doesn't append "os.sep" for UNC path (see issue4557 for detail).
-
- Apr 17, 2015
-
- Apr 15, 2015
-
-
Mads Kiilerich authored
-
Mads Kiilerich authored
This is more compliant with the FHS and Fedora packaging guidelines.
-
- Apr 12, 2015
-
-
Pierre-Yves David authored
The check-commit script search for "bug" withing bracket and ask people to use (issueXXXX) instead. The test was too wide and matching any "(+b+u+g"sequence.
-
- Apr 09, 2015
-
-
Matt Harbison authored
These are Unix only, and caused these additional warnings on Windows if they aren't hardcoded as stdlib: mercurial/posix.py mixed imports stdlib: errno, getpass, os, socket, stat, sys, tempfile relative: grp, pwd, unicodedata mercurial/posix.py mixed imports stdlib: re relative: fcntl mercurial/posix.py mixed imports stdlib: array relative: termios Additionally, this was missing on Windows: mercurial/crecord.py mixed imports stdlib: fcntl, termios relative: curses https://docs.python.org/2/library/fcntl.html https://docs.python.org/2/library/grp.html https://docs.python.org/2/library/pwd.html https://docs.python.org/2/library/termios.html
-
Matt Harbison authored
These are Windows dlls, and eliminate the following import check diffs that are not on Unix: mercurial/changegroup.py mixed imports stdlib: os, struct, tempfile, zlib relative: bz2 mercurial/encoding.py mixed imports stdlib: locale, os relative: unicodedata
-
- Apr 03, 2015
-
-
Siddharth Agarwal authored
Rev 25c1d3ca5ff6 split the foldmap into two, but I forgot to update perf for the changes.
-
Andrej Shadura authored
-
- Mar 29, 2015
-
-
Andrej Shadura authored
-
Andrej Shadura authored
-
Andrej Shadura authored
-
- Mar 28, 2015
-
-
Andrej Shadura authored
-
Andrej Shadura authored
-
Andrej Shadura authored
-
Andrej Shadura authored
-
Matt Mackall authored
So refactor to drop cyclekey().
-
Matt Mackall authored
Breadth-first allows finding the shortest cycle including the starting module. This lets us terminate our search early when we've discovered shorter paths already. This gives a tremendous speed-up to the cycle-finding portion of the test, dropping total runtime from 39s to 3s.
-
Matt Mackall authored
-
Matt Mackall authored
This will allow optimizing cyclekey creation
-
- Mar 27, 2015
-
-
Matt Mackall authored
It was duplicating the last element sometimes.
-
- Mar 24, 2015
-
-
Laurent Charignon authored
-