Commits on Source (24)
-
Euxane TRAN-GIRARD authored
Recent versions of git restrict the use of the "file" protocol for security reasons (https://github.com/git/git/commit/a1d4f67). This broke this test, which failed with the following hidden error: "fatal: transport 'file' not allowed". This patch relaxes the git configuration for the test to solve this.
2b658c6a9c4b -
Pierre-Yves David authored
The release was tagged "6.3.0" while the custom have been to omit the third ".0" for initial release for the history of the project. For consistency, we add the customary version of the tag to the 6.3 release.
9e5b411b3b19 -
Anton Shestakov authored
In case the tests are run as root, ls assumes -A by default on some systems (e.g. NetBSD). Tests probably shouldn't be run as root, but let's use -A just in case, for convenience.
12efb17faee2 -
Anton Shestakov authored
This is done to make it's clear that windows is not affected by this test case, IOW windows and non-windows platforms are now tested separately, because their results are very different.
e11760daee12 -
Anton Shestakov authored
On Linux, ls -A simply returns nothing and the exit code is 0. On NetBSD, ls -A complains that . doesn't exist and the exit code is 1. Sadly, it's not possible to do something like "[1] (?)", so " || true" is the best I could come up with.
88a8de821b5e -
Raphaël Gomès authored
Being this rigid makes packagers' job more difficult since they might not carry the exact version. This hard pinning was introduced in eb02decdf0ab but wasn't strictly necessary to achieve its compatibility goal.
b78ae134ac92 -
Pierre-Yves David authored
The revision having two tags confuses some of the build script trying to fetch the version. So, remove the "bad" tag for now.
4e3d86565327 -
Pierre-Yves David authored
Python 3.11 is now enforcing that flag must be at the beginning of the regex This creates a serious regression for people using Python 3.11 with an hgignore using flag in a "relre" pattern. We now detect any flags in such pattern and "prepend" our ".*" pattern after them. In addition, we now insert the flag in the regexp to only affect the pattern we are rewriting. Otherwise, the regex built from the combined pattern would these flags in the middle of it anyway. As a side effect of this last change, we fix a bug… before this change regex flag in a pattern would affect all combined patterns. That was bad and is not longer the case. The Rust code needs to be updated to fix that very bug, but we will do it in another changeset.
3eda36e9b3d6 -
Pierre-Yves David authored
Same problem same solution.
086b0c4f8663 -
Pierre-Yves David authored
Since the previous commit (fixing wider issue), the code generated strange regex. This is now fixed and tested.
b3480822a251 -
Jason R. Coombs authored
Also, add some documentation to the `.in` files.
4092db99541a -
Matt Harbison authored
This code hasn't been touched in recent years, and the other implementation return bytes for the filename, so I assume this is a holdover from the py2 days. I was unable to test it on mac though, because the `_osutil` import failed.
d122c8fda5a0 -
Arseniy Alekseyev authored2af928d69e8e
-
Matt Harbison authored7ddbb3623a07
-
Matt Harbison authored
It looks like this is meant to prevent adding another commit that does nothing but close a branch on top of a commit that already closed the branch. The matcher building functions want `Dict[bytes, Any]`, not `Dict[str, Any]`, which was found by adding type hints to the matcher related methods in scmutil.
3adca6eb6659 -
Arseniy Alekseyev authored
since the transaction reverts the store, while the dirstate is stored separately
302dd8ae2745 -
Arseniy Alekseyev authored8cd39c20445e
-
Arseniy Alekseyev authored
This is useful so we can store other files in $TESTTMP (in particular tests that use docket files (nodemap, dirstate-v2) keep file uids in $TESTTMP/UID)
55c6ebd11cb9 -
Pierre-Yves David authored
When running `hg log --follow --rev REVS FILES`, the log code will walk the history of all FILES starting from the file revisions that exists in each REVS. Before doing so, it looks if the files actually exists in the target revisions. To do so, it opens the manifest of each revision in REVS to look up if we find the associated items in FILES. Before this changeset this was done in a way that created a changectx for each target revision, keeping them in memory while we look into each file. If the set of REVS is large, this means keeping the manifest for each entry in REVS in memory. That can be large… if REV is in the form `::X`, this can quickly become huge and saturate the memory. We have seen usage allocating 2GB per second until memory runs out. So this changeset invert the two loop so that only one revision is kept in memory during the operation. This solve the memory explosion issue.
dcb2581e33be -
Pierre-Yves David authored
This one is not covered by the CIbecause I requires an expensive artifact to be cached. So it goes out of think on regular basis (we should fix that…) The test ouput was affected by e706bb41fdb3 as we filtering now happens sooner, removing for the output.
da636e7a6d63 -
Raphaël Gomès authoredc890d8b8bc59
-
Raphaël Gomès authored010d9e362ee4
-
Raphaël Gomès authored3324f39460e5
-
Raphaël Gomès authored7577b8644558
Showing
- .hgsigs 1 addition, 0 deletions.hgsigs
- .hgtags 4 additions, 0 deletions.hgtags
- contrib/packaging/requirements-windows-py3.txt 5 additions, 3 deletionscontrib/packaging/requirements-windows-py3.txt
- contrib/packaging/requirements-windows.txt.in 6 additions, 0 deletionscontrib/packaging/requirements-windows.txt.in
- contrib/packaging/requirements.txt 21 additions, 2 deletionscontrib/packaging/requirements.txt
- contrib/packaging/requirements.txt.in 3 additions, 0 deletionscontrib/packaging/requirements.txt.in
- mercurial/commands.py 3 additions, 1 deletionmercurial/commands.py
- mercurial/dirstatemap.py 0 additions, 2 deletionsmercurial/dirstatemap.py
- mercurial/logcmdutil.py 18 additions, 9 deletionsmercurial/logcmdutil.py
- mercurial/match.py 12 additions, 3 deletionsmercurial/match.py
- relnotes/6.3 12 additions, 0 deletionsrelnotes/6.3
- rust/hg-core/Cargo.toml 1 addition, 1 deletionrust/hg-core/Cargo.toml
- rust/hg-core/src/filepatterns.rs 67 additions, 1 deletionrust/hg-core/src/filepatterns.rs
- tests/hghave.py 2 additions, 2 deletionstests/hghave.py
- tests/test-audit-path.t 2 additions, 1 deletiontests/test-audit-path.t
- tests/test-backwards-remove.t 2 additions, 1 deletiontests/test-backwards-remove.t
- tests/test-bisect.t 8 additions, 8 deletionstests/test-bisect.t
- tests/test-bookmarks-current.t 2 additions, 1 deletiontests/test-bookmarks-current.t
- tests/test-bookmarks-merge.t 2 additions, 1 deletiontests/test-bookmarks-merge.t
- tests/test-bookmarks-rebase.t 3 additions, 2 deletionstests/test-bookmarks-rebase.t