the evil subrepo extension and share

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Dec 21 09:56:26 UTC 2023


Do you still have a .hgsub file ?

On 12/20/23 17:15, Uwe Brauer wrote:
> 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?

-- 
Pierre-Yves David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20231221/211ac4c9/attachment.html>


More information about the Mercurial mailing list