[PATCH 0 of 1] preliminary support of subrepositories
Alexander Solovyov
piranha at piranha.org.ua
Tue Feb 10 13:24:15 CST 2009
On 2009-02-06, Augie Fackler wrote:
> On Feb 4, 2009, at 1:45 PM, Alexander Solovyov wrote:
>> Edit file .hgsubrepos (located in the repo root) to contain inner path to
>> subrepo
>> and path to it's source, like:
>> apps/pingback http://hg.piranha.org.ua/django-pingback/
> Is there any way to say "at this specific revision?"
Yes, after update (when subrepository is cloned in the place) you could
update subrepository to a desired revision. It is stored on the commit.
> One of the nice things IMO about git's submodules is they make you explicitly
> say what revision you want to depend on, rather than just floating along
> whatever tip happens to be. And, given the interchangeable nature of tags and
> revisions, if people really do want to track tip, they can ask for that. I've
> had my own share of problems with svn externals when (for example) builds
> silently break because upstream changed their code and I didn't use a peg rev
> in my external.
Honestly saying there is no way to track tip currently...
--
Alexander
More information about the Mercurial-devel
mailing list