commit .hgsubstate after remove from .hgsub
Roger Pate
roger at qxxy.com
Fri Feb 17 16:19:40 UTC 2017
On Thu, Feb 16, 2017 at 4:07 PM, Jérôme Godbout <jerome at bodycad.com> wrote:
> We had a sub repos we wanted to be removed so we end up removing the entry from the .hgsub file of the main repos.
> What is the normal procedure to remove a sub repos?
"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."
https://www.mercurial-scm.org/wiki/Subrepository#Delete
> But we don't seem to be able to commit the .hgsubstate and this give us some problems and warnings when updating and merging after this.
What problems and warnings do you get?
More information about the Mercurial
mailing list