Jump to content

Mercurial Central Repository Server Structure


Recommended Posts

Hello,

 

I'm in the process of setting up a server to serve all of our yet-to-be-created Mercurial repositories from.  Given in Hg that each project will have its own repository it seems to me that a flat folder structure is the way to go ie:

 

CodeBigApplication1

CodeBigApplicationN

CodeSmallApplication1

CodeUsefulLibrary1

CodeUsefulLibaryN

 

Although with all the applications and libraries that get created this will mean there are lots/hundreds of repositories with no sub-folder structure, I can't see the benefit of organising the repositories into sub-folders.  In fact I can only see a benefit of not having them, ie simpler relative paths when an application uses a library, no funny grey areas on whether a library should fit into sub folder a or b etc.

 

Any thoughts on this please? Am I missing something?

 

Thanks,

 

 

Martin

 

 

Link to comment

Hi,

 

I think your on the right lines. In reality you are always going to use a URL to access it anyway. I think this maybe required to make it easy to have hgweb automatically serve the different repositories as you create then anyway as you can use a wildcard to describe where all of the repositories are.

Link to comment
  • 2 weeks later...

One of the issues you might run into is that you develop your libraries in production.I Would try to develop the libraries in separate projects that have a build result (vip or llb) that can be used in other projects. Active relative paths into the libraries source is a nono IMHO.

Ton

Link to comment

One of the issues you might run into is that you develop your libraries in production.I Would try to develop the libraries in separate projects that have a build result (vip or llb) that can be used in other projects. Active relative paths into the libraries source is a nono IMHO.

Ton

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.