- Oct 05, 2019
-
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D6970
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D6969
-
- Oct 04, 2019
-
-
Pierre-Yves David authored
This was pointed out by Gregory Szorc: Python 3 will require a r'' because of source transformation. Differential Revision: https://phab.mercurial-scm.org/D6968
-
Ian Moody authored
Missed this in c340a8ac7ef3 since `loads()` takes bytes from 3.6 onwards. Differential Revision: https://phab.mercurial-scm.org/D6961
-
Ian Moody authored
Currently coverage fails when run on an out-of-tree extension since run-tests.py tries to load sitecustomize.py from self._testdir, which is the dir for the extension's tests. Differential Revision: https://phab.mercurial-scm.org/D6960
-
- Oct 03, 2019
-
-
Martin von Zweigbergk authored
`hg update` can update to a different and undesired commit. For users who have commands.update.requiredest=yes, it's even an error to run just `hg update. Differential Revision: https://phab.mercurial-scm.org/D6956
-
- Oct 01, 2019
-
-
Gregory Szorc authored
The build_ext distutils command in Python 3.5+ has a "parallel" option that controls whether to build extensions in parallel. It is disabled by default (None) and can be set to an integer value for number of cores or True to indicate use all available CPU cores. This commit changes our build_ext command override to set "parallel" to True unless a value has been provided by the caller. On my machine, this makes `python setup.py build_ext` 1-4s faster. It is worth noting that at this time, each individual source file constituting the extension is still built serially. For Mercurial, this means that we can't build faster than the slowest-to-build extension, which is the zstd extension by a long shot. This means that setup.py is still not very efficient at utilizing multiple cores. But we're better than before. Differential Revision: https://phab.mercurial-scm.org/D6923 # no-check-commit because of foo_bar naming
-
- Oct 04, 2019
-
-
Yuya Nishihara authored
-
- Oct 02, 2019
- Sep 09, 2019
-
-
Pierre-Yves David authored
We actually use the data we stored during the test. It is a way to make sure their content is not corrupted. Differential Revision: https://phab.mercurial-scm.org/D6898
-
Pierre-Yves David authored
The command provide basic capabilities to inspect revision side data. Differential Revision: https://phab.mercurial-scm.org/D6897
-
Pierre-Yves David authored
For now we just write them and rejoice on the lack of crashes. Differential Revision: https://phab.mercurial-scm.org/D6896
-
- Sep 27, 2019
-
-
Pierre-Yves David authored
Ensuring this at this level seems safer than relying on caller doing the right thing. G: changed mercurial/revlog.py Differential Revision: https://phab.mercurial-scm.org/D6895
-
- Sep 03, 2019
-
-
Pierre-Yves David authored
If we need to store sidedata, we need the flag to be set and the associated processing to be called. Differential Revision: https://phab.mercurial-scm.org/D6894
-
- Sep 04, 2019
-
-
Pierre-Yves David authored
Differential Revision: https://phab.mercurial-scm.org/D6893
-
Pierre-Yves David authored
Entry with side data cannot directly validate their rawtext Differential Revision: https://phab.mercurial-scm.org/D6892
-
- Sep 03, 2019
-
-
Pierre-Yves David authored
Differential Revision: https://phab.mercurial-scm.org/D6891
-
Pierre-Yves David authored
This implement the "reading" part of a `sidedata` flag processor. Differential Revision: https://phab.mercurial-scm.org/D6890
-
- Sep 09, 2019
-
-
Pierre-Yves David authored
For now the storage strategy is very simple. We can augment it in the future if needed. Code to actually support what is described will be introduced in later changesets. Differential Revision: https://phab.mercurial-scm.org/D6889
-
- Aug 07, 2019
-
-
Pierre-Yves David authored
Small step first. Differential Revision: https://phab.mercurial-scm.org/D6888
-
- Sep 04, 2019
-
-
Pierre-Yves David authored
Note that for now we cannot upgrade/downgrade to it. Differential Revision: https://phab.mercurial-scm.org/D6887
-
- Sep 09, 2019
-
-
Pierre-Yves David authored
The feature will be usable only within repository supported by version of Mercurial with the support. Since the support is not fully implemented yet, the requirement has a temporary, experimental name. Differential Revision: https://phab.mercurial-scm.org/D6886
-
- Sep 25, 2019
-
-
Pierre-Yves David authored
If we are to store the same kind of data outside of extra, we need to explicitly prepare them before that. On the long run, other storage (eg: sidedata) might use a different encoding to store this information, since the constraint from extra does not apply to it. Differential Revision: https://phab.mercurial-scm.org/D6937
-
Pierre-Yves David authored
We want to store copies information in sidedata, the logic will be quite similar to the one used for extra, but sightly different (not in extra, no hash impact). We start with small refactoring to make our work easier and the coming changesets cleaners. Differential Revision: https://phab.mercurial-scm.org/D6936
-
- Sep 27, 2019
-
-
Pierre-Yves David authored
Multiple code path assume vfs have an options attribute, including the vfs module itself. So for consistency we explicitly add one to all vfs. This will prevent various crash in the next changesets. Differential Revision: https://phab.mercurial-scm.org/D6935
-
Pierre-Yves David authored
Relying on having an attribute or not for something so fundamental seems too fragile to me. (And indeed I had issue with that later in this series). So we explicitly record the fact the repository use revlog-v0. Differential Revision: https://phab.mercurial-scm.org/D6934
-
- Sep 26, 2019
-
-
Pierre-Yves David authored
The previous code was compact but a bit dense. The new proposed code deal with each mode separately, there are some duplicated lines, but the meaning of each mode stand out. One of the benefit it to make it simpler to add further mode in the future. Differential Revision: https://phab.mercurial-scm.org/D6933
-
Pierre-Yves David authored
The previous code was compact but a bit dense. The new proposed code deal with each mode separately, there are some duplicated lines, but the meaning of each mode stand out. One of the benefit it to make it simpler to add further mode in the future. Differential Revision: https://phab.mercurial-scm.org/D6932
-
Pierre-Yves David authored
The previous code was compact but a bit dense. The new proposed code deal with each mode separately, there are some duplicated lines, but the meaning of each mode stand out. One of the benefit it to make it simpler to add further mode in the future. Differential Revision: https://phab.mercurial-scm.org/D6931
-
Pierre-Yves David authored
Using intermediate variable is clearer and will make is simple to expand the logic. Differential Revision: https://phab.mercurial-scm.org/D6930
-
- Sep 29, 2019
-
-
Floris Bruynooghe authored
When patchbomb sends email via a sendmail-like program it invokes this using procutil.popen which passes the string to a shell to be parsed. To protect any special characters in the email addresses on the command line from being interpretered by the shell they must be quoted.
-
Gregory Szorc authored
While Debian Buster (Debian 10) was released in July, the AWS AMIs were not published until mid September. This commit teaches the automation system to create AMIs for Debian Buster. Since Debian Buster is the new stable Debian release, we make it the default distribution for automation. Differential Revision: https://phab.mercurial-scm.org/D6917
-
Gregory Szorc authored
This cuts down on the overhead to create a new AMI, as we don't have to install as many package upgrades. Differential Revision: https://phab.mercurial-scm.org/D6916
-
Gregory Szorc authored
I ran out of space attempting to build a few AMIs. Let's give the environment an extra 2 GB to utilize. Differential Revision: https://phab.mercurial-scm.org/D6915
-
Gregory Szorc authored
This provides the `aws` command-line utility as well as a Python library for interacting with AWS. It is useful to have these packages installed in AMIs so you can easily interact with other AWS services. Differential Revision: https://phab.mercurial-scm.org/D6914
-
Gregory Szorc authored
Let's stay modern. Differential Revision: https://phab.mercurial-scm.org/D6913
-
Gregory Szorc authored
It reached end of life on July 18, 2019. I don't think we should care about supporting it. Differential Revision: https://phab.mercurial-scm.org/D6912
-
Gregory Szorc authored
Docker has published packages for Ubuntu Disco and we no longer need this one-off. Differential Revision: https://phab.mercurial-scm.org/D6911
-
Gregory Szorc authored
This should be more robust since I believe the minor version can change mid release. Differential Revision: https://phab.mercurial-scm.org/D6910
-