evolve merge requestshttps://foss.heptapod.net/mercurial/evolve/-/merge_requests2024-02-01T22:48:56Zhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/553topic: tns tests that fell through the cracks2024-02-01T22:48:56ZAnton Shestakovtopic: tns tests that fell through the cracksThey were originally a part of https://foss.heptapod.net/mercurial/evolve/-/merge_requests/548 but on a different topic, so they were left out after rebase.They were originally a part of https://foss.heptapod.net/mercurial/evolve/-/merge_requests/548 but on a different topic, so they were left out after rebase.Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/552evolve and topic are tested with hg 6.6, include it in the testedwith list2024-02-01T23:24:19ZAnton Shestakovevolve and topic are tested with hg 6.6, include it in the testedwith listPierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/551topic: internal config option to fix hg pick behavior (issue6406)2024-01-29T18:04:16ZAnton Shestakovtopic: internal config option to fix hg pick behavior (issue6406)Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/550evolve: add another assert to help pytype2024-01-30T15:48:10ZAnton Shestakovevolve: add another assert to help pytypeWe already checked that all elements in ef1 as not false-y, but pytype doesn't
understand this, so we need to help it somehow. An assert should be a cheap
enough solution.We already checked that all elements in ef1 as not false-y, but pytype doesn't
understand this, so we need to help it somehow. An assert should be a cheap
enough solution.Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/549contrib: adjust heptapod CI flavor sizes2024-01-30T15:06:42ZAnton Shestakovcontrib: adjust heptapod CI flavor sizesPierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/548topic namespaces: make sure to not write the default tns value to disk, and i...2024-01-31T18:34:58ZAnton Shestakovtopic namespaces: make sure to not write the default tns value to disk, and in fact remove the file if it has the default valuePierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/547topic: return our special executor classes for each instance2024-01-17T18:00:23ZAnton Shestakovtopic: return our special executor classes for each instanceIt looks like globally patching classes once when the extension is being
initialized is not a great idea, because people might use other extensions that
get initialized earlier than topic or only for certain repos. Replacing global
execu...It looks like globally patching classes once when the extension is being
initialized is not a great idea, because people might use other extensions that
get initialized earlier than topic or only for certain repos. Replacing global
executor classes is less safe than wrapping certain functions that should
return newly instantiated objects of said classes, so let's do that instead.Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/546topic: wrap makebundlerepository() to wrap bundlerepository class (issue6856)2024-01-19T17:28:48ZAnton Shestakovtopic: wrap makebundlerepository() to wrap bundlerepository class (issue6856)Previously we just tried to wrap bundlerepo.bundlerepository class globally,
but it looks like in some situations it leads to an infinite recursion or
similar issues. This patch tries to fix this by moving the class-wrapping logic
inside...Previously we just tried to wrap bundlerepo.bundlerepository class globally,
but it looks like in some situations it leads to an infinite recursion or
similar issues. This patch tries to fix this by moving the class-wrapping logic
inside a function that is used for creating bundlerepository.Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/545topic: update the wirepeed in place instead of swapping it2024-01-09T17:53:22ZPierre-Yves Davidtopic: update the wirepeed in place instead of swapping itOtherwise other class who already inherited from the old one will diverge from
the new implementation.Otherwise other class who already inherited from the old one will diverge from
the new implementation.Anton ShestakovAnton Shestakovhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/544dropping more compatibility with hg 5.5 and older2024-01-07T20:56:31ZAnton Shestakovdropping more compatibility with hg 5.5 and olderPierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/543pytype on CI improvements2024-01-16T15:23:02ZAnton Shestakovpytype on CI improvementsPierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/542evolve: remove legacy.py that provided debugconvertobsolete2024-01-05T16:34:36ZAnton Shestakovevolve: remove legacy.py that provided debugconvertobsoleteIt's not very useful nowadays because the old obsmarkers format was before
Mercurial 2.3 and it's pretty safe to say we're not going to see any repo from
that era that people tried to use safe history rewriting and still didn't
upgrade i...It's not very useful nowadays because the old obsmarkers format was before
Mercurial 2.3 and it's pretty safe to say we're not going to see any repo from
that era that people tried to use safe history rewriting and still didn't
upgrade it.
Additionally, legacy.py was excluded from packages, so it was only easy to use
for evolve developers and contributors.Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/541evolve: fix typo in "mercurial" and let hasmemmergestate be True sometimes2024-01-02T15:20:14ZAnton Shestakovevolve: fix typo in "mercurial" and let hasmemmergestate be True sometimesNot caught by tests because of the obvious try-except statement, but caught by
pytype.Not caught by tests because of the obvious try-except statement, but caught by
pytype.Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/540various fixes detected by or related to pytype2024-01-03T16:55:13ZAnton Shestakovvarious fixes detected by or related to pytypePierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/539topic: minor update to the recent tns name check2023-12-17T21:44:45ZAnton Shestakovtopic: minor update to the recent tns name checkPierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/538merge stable into default2023-12-16T17:03:18ZAnton Shestakovmerge stable into defaulthttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/537topic: properly decode topic and topic namespace after reading from disk2023-12-15T10:34:25ZAnton Shestakovtopic: properly decode topic and topic namespace after reading from diskPierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/536dropping compatibility for hg 4.9 through 5.52023-11-20T03:18:20ZAnton Shestakovdropping compatibility for hg 4.9 through 5.5Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/535tests: clarify what branch we're closing2023-11-08T19:07:50ZAnton Shestakovtests: clarify what branch we're closingTurns out, the other topological head is on double//slash branch, but the one
we're actually closing here is on default.Turns out, the other topological head is on double//slash branch, but the one
we're actually closing here is on default.Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/evolve/-/merge_requests/534topic: use dirstate.branch() instead of wdir.branch()2023-11-08T11:50:31ZAnton Shestakovtopic: use dirstate.branch() instead of wdir.branch()Since we wrap context.branch method to return branch in FQBN format already, we
cannot simply use its result with formatfqbn() again. Let's use something that
we don't wrap in topic extension, such as dirstate.branch().Since we wrap context.branch method to return branch in FQBN format already, we
cannot simply use its result with formatfqbn() again. Let's use something that
we don't wrap in topic extension, such as dirstate.branch().Pierre-Yves DavidPierre-Yves David