the evil subrepo extension and share
Uwe Brauer
oub at mat.ucm.es
Wed Dec 20 16:15:58 UTC 2023
Hi
Unfortunately (also I have been warned) I used in a repository, lets
call it HG-Lecture a subrepo, lets call it matlab-2021
When I tried to share the repository HG-Lecture I ran into difficulties
with the subrep (some bizarre python error I don't) understand.
So I had the «brilliant» idea to use the convert extension, to convert
HG-Lecture and exclude the matlab-2021 subdirectory which is a subrepo.
So I had the following trivial filemap file:
--8<---------------cut here---------------start------------->8---
exclude "Matlab-2021"
--8<---------------cut here---------------end--------------->8---
and I run
--8<---------------cut here---------------start------------->8---
hg convert --datesort /home/oub/ALLES/HGs/tex/vorlesungen/HG-Lecture /home/oub/tmp3/HG-Lecture-short --filemap /home/oub/ALLES/HGs/tex/vorlesungen/HG-Lecture/filemap-annu
--8<---------------cut here---------------end--------------->8---
So when I tried to share the converted Repository HG-Lecture-short
I obtain
,----
| updating working directory
| sharing subrepo Matlab-2021 from /home/oub/tmp3/Matlab-2021
| abort: repository /home/oub/tmp3/Matlab-2021 not found!
`----
That puzzles me very much since I thought the subrepo is not longer
present in HG-Lecture-short.
Any ideas what is wrong here?
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine. I support
to deliver weapons to Ukraine's military. I support the EU and NATO
membership of Ukraine.
More information about the Mercurial
mailing list