2

One of my subrepo url got changed and I had to update all my projects to use the new location. I happen to have the working clones of all the projects that use that subrepo.

But what if I didn't have a working copy of one of them, how could I clone that project and update its subrepo url? Is it possible to change to .hgsub without a working copy?

It looks like there is no way to do it...

Orhun
  • 324
  • 2
  • 6

1 Answers1

2

You can do it by specifying a mapping in the .hgrc file or the .hg/subpaths file.

Tobias Furuholm
  • 4,727
  • 4
  • 30
  • 39