Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8455625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:19:54+00:00 2026-06-10T12:19:54+00:00

Similar, but the answer is discouraged by hg docs: Can I emulate svn:externals using

  • 0

Similar, but the answer is discouraged by hg docs: Can I emulate svn:externals using mercurial?

Prior to using hg I was using Subversion. It seems like the externals in Subversion are quite strong: I can have sub-repo that is pointing to a specific version of another repo. But the docs for Subrepository in Hg say it is a ‘Feature of Last Resort’. Wow that’s ominous. Plus I don’t see anything in the docs about sticking that subrepo to a specific version.

Deps extension is no longer maintained.

Forest extension is discouraged on the site.

So if I want version XYZAB of a repo to be nested inside my Hg repo, what’s the best alternative right now that isn’t a Feature of Last Resort? Is Hg just kinda bad at this feature?

Guestrepo is worth looking at, but very new at this point: https://bitbucket.org/selinc/guestrepo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:19:56+00:00Added an answer on June 10, 2026 at 12:19 pm

    But the docs for Subrepository in Hg say it is a ‘Feature of Last Resort’. Wow that’s ominous.

    This means that you should double-check that you really need subrepos. There are many very large project that use Mercurial without using subrepositories. They manage their code as a collection of loosely-coupled repositories instead — the main problem with subrepositories is that they create a very tight coupling and tightly coupled components are normally avoided in software design since they restrict your flexibility.

    However, support for subrepositories wont go away, infact it will gradually improve over time as people present good use cases to us.

    Plus I don’t see anything in the docs about sticking that subrepo to a specific version.

    Strange, since subrepositories are all about checking out a specific version. That is, you can only checkout the exact same version that you committed. The version is written to .hgsubstate when you commit and hg update will consult that file on checkout.

    Please see the Mercurial Kick Start guide and hg help subrepos for info about how the .hgsubstate file is treated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This topic can look similar to others but I haven't found any usable answer
I found similar questions but the answer didn't satisfy me. Essentially I would like
I've poured over similar questions but can't find the answer. I want to be
there are similar questions but not clear answer around using sqlite db from multiple
There seems to be others having similar problems but still not finding an answer.
I found similar questions but no answer to what I am looking for. So
I reviewed similar questions but could not find an answer to my specific quandry.
A similar question was asked here but without a satisfying answer. I'm trying to
I've been reading the answer to a similar question , but I'm still a
This question is similar to mine, but does not contain an answer. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.