subrepos

Is the subprepos feature in Mercurial 1.4.x ready for production use?

I'd like to evaluate Mercurial for my working projects. But most of my projects very heavily rely on the presence of svn:externals-like support. I've searched over StackOverflow and googled for corresponding support in Mercurial. All I found is subrepo feature added in Mercurial 1.3, but the page for this feature said: subrepos are a...

What is the correct way to handle nested Hg repositories with Mercurial/TortoiseHg ?

I'm struggling on how to correctly track nested repositories using TortoiseHg. I have a main repository that tracks my whole project. This project contains several little plugins that are stored inside a plugins/ subdirectory. I would love to track each plugin independently (committing and pushing to BitBucket for each one of them) whi...

Mercurial hg Subrepository Problem - "abort: unknown revision'

Note: I asked this yesterday over at kiln.stackexchange.com, but haven't gotten an answer, and it's holding up my work. So I figured I'd give it a shot here. My main mercurial repository has a bunch of subrepositories in it. During initial setup, I made a mistake in my .hgsub. Namely, I pointed two subrepositories to the same directory....

tortoisehg and subrepos

I can't get Tortoisehg (1.0) to work with subrepos I have a directory structure like this: root .hg .hgsub .hgsubstate Customer1 Project1 .hg foo.txt Project2 .hg Customer2 Project3 .hg the .hgsub file under root looks like Customer1\Project1=Customer1\Project1 Customer1\Project2=Custo...

Mercurial Remote Subrepos

I'm trying to set up my Mercurial repository system to work with multiple subrepos. I've basically followed these instructions to set up the client repo with Mercurial client v1.5 and I'm using HgWebDir to host my multiple projects. I have an HgWebDir with the following structure: http://myserver/hg |-- fooproj |-- mylib where mylib...

How do I get changes to propagate to all subrepos in Mercurial?

I have recently switched from Subversion to Mercurial for source control and in doing so have split up one repository into several. I used subrepos to manage the dependencies between repositories. The problem is that pull is not suprepo aware so I have to go into each subrepo and pull changes in order to update a repository. Is there a b...

Mercurial Subrepos, how to control which changeset I want to use for a subrepo?

I am reading up on subrepos, and have been running some tests locally, seems to work OK so far, but I have one question. How do I specify/control which changeset I want to use for a particular subrepo? For instance, let's say I have the following two projects: class library application o fourth commit ...

Why are mercurial subrepos behaving as unversioned files in eclipse AND torotoiseHG

I am trying to use the subrepo feature of mercurial, using the mercurial eclipse plugin\tortoiseHG. These are the steps I took: Created an empty dir /root cloned all repos that I want to be subrepos inside this folder (/root/sub1, /root/sub2) Created and added the .hgsub file in the root repo /root/.hgsub and put all the mappings of ...

What's the ROI of Sub-Repositories?

I know that sub-repositories save you an your team time, but what is the ROI on them? http://mercurial.selenic.com/wiki/subrepos ...

Does mercurial-server support subrepo?

I installed mercurial-server on one of my machines, cloned my project there, it has 3 subrepos, and when I try to clone it back to another location I get an error: remote: mercurial-server: Cannot create repo under existing repo abort: no suitable response from remote hg! So I'm starting to think that mercurial-server does...

Mercurial repo inside a repo

Is it possible to create a mercurial repository inside an existing mercurial repository? The idea is to handle subdirectories of a repository as different repositories, how do you do that? I'm not talking about subrepos (at least, if I understood the purpose of subrepos...), but if this is how subrepos do exist for, I got it wrong and ...

Keeping third-party libraries under a Mercurial project: Sub-repos or not?

Hello, We are developing a closed-source project, versionned with Mercurial. We are using two libraries in our project : One of those libraries is being developed by a third-party. They are using git, and we usually just pull from their repo once in a week to get the latest changes. The other library is being developed by ourselves, a...

Split large repo into multiple subrepos and preserve history (Mercurial)

We have a large base of code that contains several shared projects, solution files, etc in one directory in SVN. We're migrating to Mercurial. I would like to take this opportunity to reorganize our code into several repositories to make cloning for branching have less overhead. I've already successfully converted our repo from SVN to Me...

Mercurial nested subrepos (subrepos in subrepos) not recursively commiting?

I've got a Mercurial repo set up like this, with a subrepo inside another subrepo: Root .hg .hgsub .hgsubstate Nested .hg .hgsub .hgsubstate foo.txt FurtherNested .hg bar.txt If I change foo.txt and bar.txt and commit from inside Root then all is well and all the nested subrepos commit. ...

Is it possible to peg a Mercurial subrepo to a specific revision (like svn:externals)?

I'm migrating a set of projects from Subversion to Mercurial. The projects currently use svn:externals to pull code from one into the others. I've been following the recommendation to point externals to a specific revision number and manually update it as needed (so that when I update to a past revision of the main project, I get the pas...

Pushing mercurial repo without pushing subrepos

I'm using Mercurial 1.6. I have a repo with a few subrepos (11). I would like to push the parent repo to the default remote repo without pushing the child repos. Reasons for wanting to do this include: I'm using SSH repos, and it takes a long time to establish a connection and push nothing to each of the subrepos. I have commits in sub...

Pulling from a co-worker when using subrepositories

We have several shared libraries that exist as subrepos in a parent repo. If a person clones the parent repo, it looks something like: /ParentRepo ---- .hg ---- .hgsub ---- .hgsubstate ---- SharedSub1 ---- SharedSub2 ---- SharedSub3 ---- SharedSub4 ---- ParentRepo.sln .hgsub looks like this: SharedSub1 = http://ourfogbugz.us.com/.......

Is it possible to change Mercurial subrepo paths from absolute to relative

Originally my subrepo's were defined with an absolute URL in .hgsub, which is now causing some trouble. It makes "friendly dictator" workflow impossible since I want to use an intermediate server where users clone their working copies from. Then I would pull changes to the intermediate server before pushing them to the master repository ...

Join multiple subrepos into one and preserve history in Mercurial

Currently I have project consisting of multiple repositories, e.g.: +---Project (main repo) +---Core (subrepo) +---Web (subrepo) \---Tests (subrepo) Unfortunately the code between subrepos is quite coupled so it doesn't work nicely with branches. Is there any way to consolidate the subrepos into one main repository prese...