First experience with "hgsubversion" extension
Dr Rainer Woitok
rainer.woitok at gmail.com
Tue May 29 16:39:14 UTC 2018
Matt,
On Wednesday, 2018-05-23 22:43:44 -0400, you wrote:
> ...
> > Even if I do "hg clone -U" or just "hg pull" without "-u"? I was under
> > the impression that the subrepositories are only touched by Mercurial
> > when executing "hg update".
>
> That's also my understanding. In both cases, the subrepo cloning/pulling
> happens within the update portion of the command.
> ...
> Keep in mind that .hgsub is parent repo revision specific.
Oops, you are right! It doesn't make much sense to inspect one version
of ".hgsub" and then update to another. Sigh :-(
So it seems the safest way is the default configuration via ".hgsvnext-
ernals" and the explicit "hg svn updateexternals" command after inspect-
ing the current contents of file ".hgsvnexternals".
Thanks for the discussion :-)
Sincerely,
Rainer
More information about the Mercurial
mailing list