- Sep 04, 2019
-
-
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
-
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
-