- 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
-
Gregory Szorc authored
The time monkeypatching doesn't appear to work reliably in Python 3, possibly due to unittest using a different time function. This makes the test intermittent due to the execution time not always being `0.00s`. We have our own wrapper around unittest for more deterministic test output. So let's use it. As a bonus, all test output disappeared, so we can remove the .out file! Differential Revision: https://phab.mercurial-scm.org/D6921
-
Gregory Szorc authored
For Python 3 compatibility. Differential Revision: https://phab.mercurial-scm.org/D6920
-
Gregory Szorc authored
Otherwise the source transformer converts it to bytes and test-check-interfaces.py complains on Python 3. Differential Revision: https://phab.mercurial-scm.org/D6919
-
Gregory Szorc authored
Otherwise it is printed and the test fails with tons of output on Python 3. Differential Revision: https://phab.mercurial-scm.org/D6918
-
Gregory Szorc authored
The wording has been tweaked in new versions of pip. Differential Revision: https://phab.mercurial-scm.org/D6909
-
Gregory Szorc authored
This prevents the sub test harness from rebuilding Mercurial. It shaves ~30s from the test wall time on my machine. Differential Revision: https://phab.mercurial-scm.org/D6908
-
Gregory Szorc authored
This silences some test-check-pyflakes.t warnings on Python 3. Differential Revision: https://phab.mercurial-scm.org/D6907
-
- Sep 26, 2019
-
-
Pierre-Yves David authored
Some conditional were missing.
-
- Sep 27, 2019
-
-
Pierre-Yves David authored
Oops, we forgot to register data file when blanky copying revlog. Now that we are actually copying these `.d` files, we should also register them. Differential Revision: https://phab.mercurial-scm.org/D6905
-
Pierre-Yves David authored
The test did not used any `.d` file. So of course, their handling was broken (for vfs encoding reason again). We fix the issue and update the test. Note that some fncache issue remains with `.d` file. It will be taken care of in the next changesets. Differential Revision: https://phab.mercurial-scm.org/D6904
-
Pierre-Yves David authored
Differential Revision: https://phab.mercurial-scm.org/D6903
-
Pierre-Yves David authored
The encoding in vfs mess up with the directory we are trying to create manually. We could duplicate the advanced logic some more, but that seems ill fated. Instead, we let the vfs deal with directory creation. We update the test to contains a name affected by encoding. Differential Revision: https://phab.mercurial-scm.org/D6902
-
Pierre-Yves David authored
If we do a full addition, we need to start from the full text. Differential Revision: https://phab.mercurial-scm.org/D6901
-
Pierre-Yves David authored
The documentation of the `debugupgraderepo` command was updated when `re-delta-fulladd` was introduced. However, the docstring of the `revlog.clone` method was not. Differential Revision: https://phab.mercurial-scm.org/D6900
-
Pierre-Yves David authored
The content of the clone method now focus on parameters validation and processing. The `_clone` method focus on the actual cloning logic. Splitting the method out save some indentation and clarify each method code since it a focussed on one goal. Differential Revision: https://phab.mercurial-scm.org/D6899
-
- Sep 06, 2019
-
-
Pierre-Yves David authored
It became an empty shell. Differential Revision: https://phab.mercurial-scm.org/D6823
-
Pierre-Yves David authored
This is a small duplication, and the last bit we need to get rid of the mixin. Honestly, I am not fan of that class attribute and it mostly exist to accomodate The simple-storage whose usage of flag processors is dumbious and that is currently dead code anyway. However I don't want to be pulled into futher unrelated cleaning so it is a small price to pay. Differential Revision: https://phab.mercurial-scm.org/D6822
-
Pierre-Yves David authored
The code duplication benign and will get removed in a couple of month anyway. Differential Revision: https://phab.mercurial-scm.org/D6821
-
Pierre-Yves David authored
One more steps toward removing the mixin. Differential Revision: https://phab.mercurial-scm.org/D6820
-
Pierre-Yves David authored
One more steps toward removing the mixin. Differential Revision: https://phab.mercurial-scm.org/D6819
-
Pierre-Yves David authored
One more step towards removing the mixin. Differential Revision: https://phab.mercurial-scm.org/D6818
-
Pierre-Yves David authored
This is the first step toward removing the flag processing mixin. Differential Revision: https://phab.mercurial-scm.org/D6817
-
- Sep 03, 2019
-
-
Pierre-Yves David authored
If we want some flag processors to be able to store sidedata it needs to be actually fed that data. Differential Revision: https://phab.mercurial-scm.org/D6816
-
Pierre-Yves David authored
To read sidedata using flagprocessors, we need flag processors to store them. So we pass this information to the flag processing layer. Differential Revision: https://phab.mercurial-scm.org/D6815
-
Pierre-Yves David authored
If we want to eventually store sidedata we need to be able to pass them along. Differential Revision: https://phab.mercurial-scm.org/D6814
-
Pierre-Yves David authored
This makes it possible for flag processors to -read- flag data. Differential Revision: https://phab.mercurial-scm.org/D6813
-
Pierre-Yves David authored
This function input and return are becoming stranger and stranger bnut I don't have a good plan to make is saner without problematic code duplication, so it will be this way to now. Differential Revision: https://phab.mercurial-scm.org/D6812
-