Questions tagged [subrepos]

Mercurial can include other repositories in a checkout. These repositories are called subrepositories.

More information:

101 questions
0
votes
1 answer

new to mercurial and VCS: shared code multi-server setup

In our small office we're setting up mercurial - our first time using a "real" version control system. We've got three servers - a live server, a staging server and a development server. We've also got three relatively large web sites - one for…
0
votes
0 answers

Keeping a collection of mercuial subrepos at tip

I would like to keep a collection of mercurial subprepositories updates at tip and this is what I've come up with. Are there any gotchas I'm not seeing if I do it this way? Backstory For many years now I have been using monolithic subversion…
chew socks
  • 1,406
  • 2
  • 17
  • 37
0
votes
1 answer

how can i publish with push to git server with subprojects

I uploaded a yii website through git by pushing to ssh openShift server. i had downloaded plugs with composer. now all the plugs are being considered as subprojects, that means source code of these plugs ain't uploaded. how can i stop the…
aex
  • 85
  • 1
  • 9
0
votes
1 answer

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? https://www.mercurial-scm.org/wiki/subrepos
leeand00
  • 25,510
  • 39
  • 140
  • 297
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

Bzr subrepository for library

I'm working on a couple of PHP projects. One is an application, the other is a library that supports that application. Previously I've used a mercurial setup where the library was a subrepository within the application repository. This meant that…
Nick W.
  • 1,050
  • 2
  • 9
  • 21
0
votes
1 answer

Determining changes in subrepositories on remote server without commit in main repository

I want to use hierarchical structure with mercurial repositories. Structure _Main Main/sub1 Main/sub2_ .hgsub sub1=sub1 sub2=sub2 [subpaths] somepath/Main/sub1=somepath/sub1 somepath/Main/sub1=somepath/sub2 Then my colleagues will…
Camarada
  • 107
  • 1
  • 9
0
votes
1 answer

HG Clone repository with subrepos without pulling

I am trying to figure out how to clone a repository with subrepositories without pulling from the source. I'm afraid that, while I have read tutorials and examples, my Mercurial knowledge is tentative. Right now, the .hgsub structure is a list of…
Thalia
  • 13,637
  • 22
  • 96
  • 190
0
votes
1 answer

Mercurial subrepos and bitbucket accounts

I have a team set up on bitbucket with multiple users, and I'm using the keyring extension for mercurial. I need to set up a subrepo, and in the .hgsub file I need to provide the url for the subrepo. If I use https://bitbucket.org/team/subrepo then…
carpat
  • 861
  • 10
  • 25
0
votes
1 answer

hg nested repository settings

I have a third party nested git repo in my mercurial project and I want to share my local settings (sparse checkouts) for this repo with my team - is there any way to do this automatically? /repo/nestedrepo/.git/info/sparse-checkout <- this is a…
hcliff
  • 433
  • 5
  • 16
1 2 3 4 5 6
7