subrepos

Workflow to keep Mercurial subrepositories up to date when changes are made in clones?

元气小坏坏 提交于 2019-11-28 10:22:59
I have read every question on Mercurial subrepositories that I could and still not sure how it works. We are using hgweb.cgi on IIS so we have http:// paths to all of our repos. Here is the basic layout: /Libraries - http://server/Libraries /Project1 - http://server/Project1 /Project1/LibrariesSubrepo - http://server/Project1/LibrariesSubrepo (clone of libraries) /Project2 - http://server/Project1 /Project2/LibrariesSubrepo - http://server/Project2/LibrariesSubrepo (clone of libraries) In the .hgsub files, I have the path setup as: LibrariesSubrepo = LibrariesSubrepo If I want to work on the

What's a good way to organize projects with shared dependencies in Mercurial? [closed]

前提是你 提交于 2019-11-28 02:50:55
Currently, I'm moving from a legacy version control system and moving my group's project to mercurial. As one example of the kinds of code I'm moving, I have a 25+ project Visual Studio solution, containing several separate application areas that all depend on common code. Looking over Stack Overflow, the closest question I found was this one , but it merely mentioned version control. I'm looking for a bit further advice, on specific implementation techniques of using Mercurial to manage these dependencies. A simplified view of the dependencies look something like the following. (This is for

Adapting svn:externals usage for move to Mercurial

与世无争的帅哥 提交于 2019-11-27 22:35:00
We've got in a corporate environment an svn repository structure which looks like this: root libs shared_lib1 shared_lib2 private_lib public_code private_code where public_code is an external repository which is open source and where people from outside the company have read-write-access. shared_lib1 and shared_lib2 are also external repositories shared with a different group of programmers from an other company. I'm the maintainer and can do basically whatever is technically best, the outside users will have to adapt. I'm now wondering what the best way is to move from this structure to a

Workflow to keep Mercurial subrepositories up to date when changes are made in clones?

瘦欲@ 提交于 2019-11-27 03:35:20
问题 I have read every question on Mercurial subrepositories that I could and still not sure how it works. We are using hgweb.cgi on IIS so we have http:// paths to all of our repos. Here is the basic layout: /Libraries - http://server/Libraries /Project1 - http://server/Project1 /Project1/LibrariesSubrepo - http://server/Project1/LibrariesSubrepo (clone of libraries) /Project2 - http://server/Project1 /Project2/LibrariesSubrepo - http://server/Project2/LibrariesSubrepo (clone of libraries) In the

What's a good way to organize projects with shared dependencies in Mercurial? [closed]

这一生的挚爱 提交于 2019-11-26 23:50:40
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 months ago . Currently, I'm moving from a legacy version control system and moving my group's project to mercurial. As one example of the kinds of code I'm moving, I have a 25+ project Visual Studio solution, containing several separate application areas that all depend on common code.

Mercurial Subrepos - How do you create them and how do they work?

岁酱吖の 提交于 2019-11-26 21:41:15
Situation I have two .NET solutions ( Foo and Bar ) and a common library that contains ProjectA, ProjectB, and ProjectC. Foo and Bar reference one or more library projects, but the library projects are not located within the Foo and Bar Solution folders. Directory structure: -- My Documents* -- Development -- Libraries -- ProjectA -- ProjectB -- ProjectC -- Projects -- Foo -- Solution -- .hg -- .hgignore -- Foo { Project Folder } -- FooTests { Project Folder } -- Foo.sln { References ProjectA } -- Foo.suo -- Bar -- Solution -- .hg -- .hgignore -- Bar { Project Folder } -- BarTests { Project

Mercurial Subrepos - How do you create them and how do they work?

守給你的承諾、 提交于 2019-11-26 08:00:33
问题 Situation I have two .NET solutions ( Foo and Bar ) and a common library that contains ProjectA, ProjectB, and ProjectC. Foo and Bar reference one or more library projects, but the library projects are not located within the Foo and Bar Solution folders. Directory structure: -- My Documents* -- Development -- Libraries -- ProjectA -- ProjectB -- ProjectC -- Projects -- Foo -- Solution -- .hg -- .hgignore -- Foo { Project Folder } -- FooTests { Project Folder } -- Foo.sln { References ProjectA