Mercurial - Add project which is not within repository folder

后端 未结 3 1095
旧巷少年郎
旧巷少年郎 2021-01-20 05:25

I am an inexperienced Mercurial user. I am using VS2010 with Mercurial. I had everything working nicely against a single repository, which contained a solution file and tw

3条回答
  •  一向
    一向 (楼主)
    2021-01-20 05:41

    No, you cannot add anything that is not under the repository root. hg add will abort with X not under root message. Move your files into the repository, or move the repository so that all of your files are under the root (note that this will generate a lot of file moves, and you really shouldn't do that).

提交回复
热议问题