Questions tagged [mercurial-subrepos]

Questions related to the subrepository feature in the Mercurial distributed version control system.

Questions related to the subrepositories feature in the Mercurial distributed version control system.

129 questions
0
votes
2 answers

How to organize mercurial repository / subrepositories in large team project

At work we need to regorganize our system of version control. The structure of the project is the following: 2 teams: Team1 and Team2 a) Both Team1 and Team2 work on module A. b) Team1 also works on B and C, which depend on A. c) Team2 also works…
xanz
  • 221
  • 3
  • 10
0
votes
0 answers

mercurial subrepository commit not showing in parent repository

I have a mercurial repo structured as follows: /parent /child1 /child2 with the following webconfig file for hg serve: [paths] / = ./* /parent/child1 = ./parent/child1/* /parent/child2 = ./parent/child2/* [web] allow_push = * push_ssl =…
Kelly Bang
  • 727
  • 6
  • 16
0
votes
1 answer

Can a mercurial subrepository be a subfolder of another repository?

My repository A depends on repository B, so I intend to add B to A as a subrepo. But in fact, A doesn't depend on all of B, just, say on the contents of a subfolder bar/ in the root of the B repository. Is it possible to indicate that just the…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

TortoiseHg 4.4 does it work for commiting new items in subrepos?

using: Windows, TortoiseHg 4.4 I have just started looking at Mercurial as a route for version control instead of our (not so) wonderful TFS 2010 system. The idea is to allow more flexible branching using our current project architecture and make…
DaveC
  • 63
  • 1
  • 8
0
votes
1 answer

Targeting many platforms with many dependencies using VS2015 + hg

I have a c++ project, with source managed using hg mercurial. I am porting it to support android, iOS and linux. I am using the cross-platform capabilities of Visual Studio 2015 to do this. The problem is that for windows debug/release x32/x64 alone…
0
votes
1 answer

How to fix the main repo when a commit/push has been made from a subrepo in Mercurial

So I have a main Mercurial repo composed of 3 sub-repos. Usually the right way to commit/push that I understood is the following: hg commit -Sm 'Fixed a bug' # This commit was done from the main repo hg push I did a mistake and commit/push from one…
Bruno
  • 189
  • 1
  • 4
  • 15
0
votes
1 answer

Mercurial guestrepo extension: scope and use cases

I am looking at the mercurial guestrepo extension and I cannot truly determine what exactly it provides over simply instantiating repositories nested in each other (i.e NOT defined as subrepos). The only plus seems that with a single single command…
ARF
  • 7,420
  • 8
  • 45
  • 72
0
votes
0 answers

Mercurial partial clone in subrepository or guestrepo

Is it possible to do a partial clone of a mercurial repository as either a subrepository or a guestrepo? description: given a repo at https://blah/hg/foo/ named foo and another repo named cat , I'd like to create a guestrepo in cat from a certain…
n611x007
  • 8,952
  • 8
  • 59
  • 102
0
votes
3 answers

How to see changes in subrepos between commits

I have a mercurial repo with subrepos (also mercurial). Imagine the situation where I have changed the subrepos and the main repo. Now I want to see the changes between several commits including the changes in the subrepos. Is it possible? I use…
synacker
  • 1,722
  • 13
  • 32
0
votes
1 answer

Mercurial CLONE with PULL on a repository with subrepos doesn't create a fully independent repository

I have a shell repository OriginalWithSubrepo with a subrepository Sub containing a bunch of actual files. When I clone OriginalWithSubrepo like this hg clone --pull --noupdate "C:\TestRepo\OriginalWithSubrepo"…
Igor Ivanov
  • 37
  • 1
  • 6
0
votes
1 answer

Adding a subrepo in a subfolder in Mercurial

I want to have a sub-repository in a sub-folder. Here is the line from my hgsub file: Common\Vectors = http://my.rhodecode.org/DotNETSources/DotNETCommon/Vectors At first it seemed to work, as TortoiseHG showed the subrepos and didn't blow up right…
0
votes
1 answer

Cloning into Mercurial Hg

I've started to clone the repository to my local computer. The repository contains 2 subrepositories. First of all these 2 subrepositories have refererences to other repositories into the same mercurial (.hgsub file contains the path). Laterly (as I…
WabiSabi
  • 49
  • 2
  • 8
0
votes
3 answers

How prevent HG Workbench to ask for user name by using subrepositories?

I use HG Workbench and subrepositories over a ssh connection. I use also ssh-rsa to avoid typing my password every time. This works great for the main repository. But if I push or pull HG Workbench (or command shell) promt's with a dialog to typing…
bzs
  • 499
  • 5
  • 16
0
votes
2 answers

Git repo as Hg subrepo

Please explain me an exact right way to add git repository to hg repository as subrepository. I just need to possibility to clone hg repository with all its subrepositories (git and hg); include no source code from subrepo to parent repo, because…
Gosha U.
  • 623
  • 1
  • 4
  • 16
0
votes
1 answer

Repeating mercurial graft steps by hand

Recently one of my coworkers grafted a commit that changed one (out of three) subrepositories on .hgsubstate. The graft instead changed all three to match the original changeset(even if they were changes from previous one): changeset…
aTMsA
  • 13
  • 2
1 2 3
8
9