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
1
vote
1 answer

Tracking in-house libraries in subrepositories

We are developing an in-house framework that several projects are going to use. The idea is to have the entire framework tracked as a mercurial subrepository of each project's repository. This resulted in the following subrepo tree (see…
1
vote
1 answer

Mercurial: How do I revert a subrepo file?

I have a mercurial repo with a sub-repo (in this case, bootstrap). I modified the file, then modified it back manually, but hg still thinks it's modified and won't let me commit my other changes (I don't want to commit anything to the…
Lango
  • 2,995
  • 5
  • 26
  • 27
1
vote
1 answer

AppHarbor, BitBucket and SubRepo Work Around

I would like to host a project on AppHarbor. The project's Hg repository is hosted on BitBucket. The issue is that my repository contains a subrepo (also Hg on BitBucket). It seems there is no way for AppHarbor to pull subrepos, so the project fails…
Hypnovirus
  • 1,555
  • 1
  • 10
  • 21
1
vote
1 answer

Mercurial subrepository from a non-nested / sibling directory?

Is it possible to create a subrepository using a sibling path? Subversion is our "chosen" VCS here, but I've already had quite a few issues with out of date commits. It's much more convenient for me to dual version my files under Hg and SVN, and I…
Wayne Werner
  • 49,299
  • 29
  • 200
  • 290
1
vote
1 answer

How to add specific subfolder of subrepo

I'm comming from SVN background and I'm having a problem of adding to my main repo a subfolder of subrepo. That means that I don't want to add the whole subrepo to my main project - only a part of it. In my situation I want to include only source…
Rytis Alekna
  • 1,387
  • 7
  • 17
0
votes
1 answer

setting up mercurial/kiln subrepos on osx

I have been trying to follow the instructions in the answer to this question, using kiln. i'd like to be able to arrange things as follows: /somepath/thirdparty maps to a kiln repository "thirdparty" and contains assorted code /somepath/common …
unsynchronized
  • 4,828
  • 2
  • 31
  • 43
0
votes
2 answers

How to share a .git folder among several projects?

I want to work with Git repositories or sub-repositories like in Mercurial Share extension. So, here's what I have: mkdir orig cd orig echo "osthuaosteh" > abc git init --shared git add abc git commit -m 'init' cd .. mkdir another How can I…
culebrón
  • 34,265
  • 20
  • 72
  • 110
0
votes
1 answer

Keeping subrepos in sync on central server

I keep thinking I understand subrepos and how I can make them work for my teams workflow, but clearly I don't, because every time I try to implement some basic workflow, something doesn't end up working right. I've read pretty much everything there…
chrismay
  • 1,384
  • 2
  • 15
  • 25
0
votes
1 answer

How to set up a mercurial repository which contains only some packages from different subrepositories projects?

I have a distant repository called http://myrepo I also have 3 projects with 3 distinct packages (1 in each) stored in D:/Projects/Project[ABC]/src/pack[ABC]. I would like to create a local repo in D:/Mercurial which will reference the packages…
Bernard Rosset
  • 4,523
  • 6
  • 27
  • 29
0
votes
1 answer

Can I get a Mercurial with Subversion subrepository to automatically check out?

I've set up a Mercurial repository that has a subversion subrepository. I've configured an .hgsub file so that Mercurial is aware of that repository. However, I was expecting that Mercurial could trigger an svn update automatically whenever I did a…
Rich
  • 12,068
  • 9
  • 62
  • 94
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
1 answer

Mercurial subrepository different folder

I have different repositories on my server, the main repo of the application (MyApplication A, B, C) and the library repo (I'd like to reuse this repo in many applications). on server side \\Server\Share\MyApplicationA\…
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

Mercurial path bug, or am I doing something wrong

I'm trying to use subrepos but I keep having strange issues when pushing/pulling changes to the server. I feel like this is a bug, but I'm not sure. I've determined that after committing my changes locally, the best way to get my changes to the…
Dave Cousineau
  • 12,154
  • 8
  • 64
  • 80
0
votes
0 answers

abort: No such file or directory: '/mnt/factotum/rpc' [Mercurial]

I am having a problem in taking a clone, push or pull. When I do these, I get an error: abort: No such file or directory: '/mnt/factotum/rpc' How can I resolve the issue? OS: Ubuntu 16 Tool: Mercurial, BitBucket
1 2 3
8 9