how to remove a subrepository, commit also?

Uwe Brauer oub at mat.ucm.es
Sun Nov 6 10:31:48 UTC 2022


Hi

I think I want to get rid of a subrepository.

So, according to https://www.mercurial-scm.org/wiki/Subrepository#:~:text=To%20remove%20a%20subrepo%20from,you%20can%20delete%20the%20files.

,----
| To remove a subrepo from the parent repo, you must delete the subrepo
| definition from the '.hgsub' file at the top level of the parent repo.
| Once you do this, the subrepo tree will show up as a set of unknown
| files when you run hg status, and you can delete the files.
`----
But shout I commit *after* I removed the definition in .hgsub and
*before* I delete the files in the subrepo?

Regards

Uwe Brauer 
-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/



More information about the Mercurial mailing list