530 Commits

Author SHA1 Message Date
Mark Nauwelaerts
8a137f53f8 README: drop mention of supported version
... as the intention is always to support the latest anyway
2025-05-02 16:58:51 +02:00
Mark Nauwelaerts
c13e36f215 README: add a note about broken hg-git compatibility mode 2025-05-02 16:58:43 +02:00
Mark Nauwelaerts
fbeaffb15c Disable a hg-git mimic attempt 2025-05-02 16:13:25 +02:00
Mark Nauwelaerts
a96f368f2a test: ensure original behaviour in hg-git test 2025-05-02 16:13:19 +02:00
Mark Nauwelaerts
301552278a test: post-merge align of helper test 2025-05-02 16:13:19 +02:00
Mark Nauwelaerts
fddbbfe990 Merge branch 'felipec'
Integrate changes from felipec where appropriate and still relevant.
2025-05-01 20:18:03 +02:00
Mark Nauwelaerts
c329c9690a Merge commit '408333afca931970d19c57bb697cdf83f6abcbef' into felipec
These changes can be merged with limited conflict resolution.
2025-05-01 20:00:37 +02:00
Mark Nauwelaerts
6c36268028 Merge commit '474cacd81d0f34717aebc6df473406285d5868ad' into felipec
These changes can be merged with limited conflict resolution.
2025-05-01 19:48:36 +02:00
Mark Nauwelaerts
893dd9434f Merge commit '7713b7ecefea9f0df2970079086fe318e3d26311' into felipec
These changes have been discarded.

While it may involve ancient API, there is limited gain wrt complexity,
so might as well leave in place.
2025-05-01 19:38:27 +02:00
Mark Nauwelaerts
4ddbfeb9c8 Merge commit '463f397ba49b9f5f416c1cf85c1104c3939be224' into felipec
Discard change, which now follows a similar approach to what was
introduced long ago in c3f02d39ad.
Caution is also required in subsequent imports as considered in
a59e1246a2.
2025-05-01 16:20:56 +02:00
Mark Nauwelaerts
93271a4e1b Merge commit 'e774ad2d96ae27e23c8ede88384bb1c085d631e8' into felipec
Accept trivial change.
2025-05-01 16:20:16 +02:00
Mark Nauwelaerts
36706dffe6 Merge commit '086ca235076d7450d3e46e8f80f483b895856777' into felipec
Discard superfluous cleanup.
2025-05-01 16:07:24 +02:00
Mark Nauwelaerts
da532bf6f4 Merge commit '7c373be665ebcf794a297b3c98afd9d94365d9f9' into felipec
These changes can be merged and accepted with limited conflict resolution.
2025-05-01 16:05:05 +02:00
Mark Nauwelaerts
aa1d0bc152 Merge commit '7908c70efbd0420e21c2b0b7841b61e3b933be51' into felipec
These changes can be merged with limited conflict resolution.
2025-05-01 16:02:47 +02:00
Mark Nauwelaerts
bdbe62256a Merge commit '8025945a62d16ef078299ad5903081f250d762ed' into felipec
These changes can be merged with some adjustments.
That is, only conditionally prefer some newer API, but otherwise
prefer current code paths, which have been tried and tested for a
long time through various version (both python and hg).
2025-04-30 20:55:24 +02:00
Mark Nauwelaerts
8acf139e44 Merge commit 'b8b9a2f571c322bb3fe8a19c102a0f75fe9f3a9a' into felipec
These changes can be merged with limited to no conflict resolution.
2025-04-30 20:31:41 +02:00
Mark Nauwelaerts
1df692295c Merge commit 'f032d3617bb47585f20006abee83d7309498c17d' into felipec
This change is part of port to python v3 and can as such be discarded.
2025-04-30 20:18:32 +02:00
Mark Nauwelaerts
027e1a16f0 Merge commit '60a1d7ae7a60988f122d8d9ba9ad3c693c5141ae' into felipec
These changes can be merged with limited conflict resolution.
2025-04-30 19:16:33 +02:00
Mark Nauwelaerts
723e6c76fc Merge commit '9b54c626bcf25d390861b430145e96af3ec8459c' into felipec
The removal of support for older version can reduce clutter and ease
maintenance, but in this case such gains are marginal, and there would
then only be loss (of older functionality).

As such, this change is discarded, and older version support is kept.
2025-04-30 18:34:29 +02:00
Mark Nauwelaerts
2529c986c2 Merge commit 'd51f508916d543f987868dd6f7072c72e8f692b2' into felipec
These changes can be merged with limited to no conflict resolution.
2025-04-30 18:30:58 +02:00
Mark Nauwelaerts
ab398ade1d Merge commit '7196dac02d94105586305462be5c15a812c6f7de' into felipec
These changes can be mostly accepted and merged with limited resolution,
especially since hg-git testing is mostly disabled and discarded in
future commits.
2025-04-29 21:56:56 +02:00
Mark Nauwelaerts
e1d25cf97c Merge commit 'b4c3277f72f995cc0babcdc5bc6f6d0e2254acc3' into felipec
These changes can be merged with limited conflict resolution.
2025-04-29 21:18:04 +02:00
Mark Nauwelaerts
0fe1e359ec Merge commit '7394fc890e76ec3919fa30048338a9cbb59ce899' into felipec
This commit can be discarded as it is not relevant; revwalk() is used
in stead of gitrange().  The latter is based on recorded tips, which
are also no longer in use, as that approach is not quite robust.
It is also inefficient when fetching large number of new bookmarks
(for which there can be no pre-tracked tip).
2025-04-29 20:53:25 +02:00
Mark Nauwelaerts
498c615051 Merge commit '22229dd738ae3d0752b293cca1cf948c1d154cfa' into felipec
These changes can be merged with limited to no conflict resolution.
2025-04-29 20:48:13 +02:00
Mark Nauwelaerts
6b6aa9deaa Merge tag 'v0.6' into felipec
These changes involve a port to python3.  These can mostly be discarded,
as such port has already been done in an alternative way, which supports
both v2 and v3.
2025-04-28 18:53:34 +02:00
Mark Nauwelaerts
2685f56c7c Merge tag 'v0.5' into felipec
These changes can be merged with limited to no conflict resolution.
2025-04-28 18:37:33 +02:00
Mark Nauwelaerts
3314ce3dda Makefile: use lighter asciidoctor iso asciidoc 2025-04-28 17:24:22 +02:00
Felipe Contreras
408333afca github: use newer hg versions 2025-03-08 08:48:47 -06:00
Felipe Contreras
c861db6add check-versions: add newer versions 2025-03-08 08:32:03 -06:00
Felipe Contreras
d2a3a646af test: unset user some config 2025-03-08 08:30:24 -06:00
Felipe Contreras
f00911668a Avoid decoding some binary stuff 2025-03-08 02:01:54 -06:00
Felipe Contreras
474cacd81d check-versions: fix for newer ruby versions 2025-03-07 23:53:09 -06:00
Mark Nauwelaerts
e4d87d5e2c Use raw literals for some regexps
Fixes mnauw/git-remote-hg#57
2025-02-08 21:19:29 +01:00
Felipe Contreras
615cc7fe04 github: disable windows tests
It's not working. Probably related to actions/runner-images#7253.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2024-03-07 01:07:07 -06:00
Dan Rose
79e75991ab Use raw strings for regexes
Fixes #94.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2024-03-07 00:28:50 -06:00
Mark Nauwelaerts
b029ac0500 Improve hg-git compatibility mode
... by adjusting to some hg-git changes

See mnauw/git-remote-hg#55
2023-05-07 13:21:45 +02:00
Felipe Contreras
7713b7ecef Remove push_unsafe()
It's not needed anymore.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-05 12:29:28 -06:00
Felipe Contreras
b274b8057e Don't force public pushes
This is something that needs to explicitly happen.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-05 12:29:28 -06:00
Felipe Contreras
451e31022a Restrict common discovery
This was added in hg 4.5.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-05 12:29:28 -06:00
Felipe Contreras
9c61c09ebf Remove support for lock-based unbundling
This was deprecated in 0.9.1 and support for those servers dropped in
4.4.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-05 12:29:23 -06:00
Felipe Contreras
463f397ba4 Remove last-note
We can take advantage of `ref^0` and let `git fast-import` figure out
the most recent commit.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-04 15:07:19 -06:00
Felipe Contreras
e774ad2d96 Fix initial marks version
[no ci]

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-04 09:40:10 -06:00
Felipe Contreras
086ca23507 Trivial cleanups
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-04 07:45:58 -06:00
Felipe Contreras
7c373be665 test: test against hg 6.4
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-05-04 07:20:51 -06:00
Felipe Contreras
3bfec5fc6f github: give a name to the action
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-03-22 18:17:20 -06:00
Felipe Contreras
7908c70efb Trivial simplifications
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-03-20 02:09:17 -06:00
Felipe Contreras
7cff2c6adb Simplify export_file args
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-03-20 02:07:45 -06:00
Felipe Contreras
9c5b8835f4 Get rid of export_files
It's not necessary.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-03-20 02:02:11 -06:00
Felipe Contreras
537e5a4735 Reorganize export_files
No functional changes.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-03-20 01:58:42 -06:00
Felipe Contreras
8025945a62 Simpler get_filechanges algorithm
The status method achieves the same thing as the current code.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2023-03-20 01:54:10 -06:00