Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am currently using TortoiseHg on windows. I want my server to be available automatically as it is switched on.

But I need to do these:

  1. when I set up a new project, I need to enter the localdir=URL pairs under the [web] each time I set up a project.
  2. I need to run the hg serve or the Tortoise frontend each time to get it 'up'.

I saw many tutorials for setting up Apache as the server. I want something that can be deployed faster. I also saw some web frontends of questionable stability.

Is there mature and easy-to-use software with push and pull capability, which serves all repos in a given folder? Something that starts/stops without user intervention and can be easily set up?

Or should I stick with setting up Apache to do it?

share|improve this question
    
What are you actually trying to achieve? Do you want to set up a shared repository for a group of people, or are you trying to give other team members the ability to pull your personal branches into their repos, so that they don't have to wait for you to push them to a shared repo? –  Mark Booth Jul 8 '11 at 11:23
    
It's this: I "want to set up a shared repository for a group of people" –  aitchnyu Jul 11 '11 at 7:34
1  
On Stack Exchange sites like Programmers, we prefer to edit the question rather than add supplemental information in comments. Essentially, SX is not a forum. The idea is that both questions and answers are self contained, so people don't need to read the comments to get all of the information they need. –  Mark Booth Jul 11 '11 at 13:52
add comment

3 Answers

To achieve this I use RhodeCode : http://rhodecode.org/

It works like a simplified private bitbucket.

That way I have my repositories (gathered in a folder as you asked) online on a private server, I can manage access easily.

Once setup and running it should solve your problem.

share|improve this answer
add comment

hg itself comes with a basic web server functionality: hgwebcgi I believe it's called (or used to be called).

I use it myself somewhat.

I prefer to use bitbucket tho.

share|improve this answer
add comment

In a windows environment, we usually just stored our shared mercurial repositories on shared network drives. We always had our company shared server (S drive) mapped anyway, so cloning from there to our local drive worked fine. While we were on the work network we could then push/pull normally.

Note, there is an issue with the current version of TortoiseHG which means that it has problems with samba (windows shares), so it's probably best to stick with thg-2.0.5 if you use repos on shared drives, until 2.1.2 is released.

If you need access to the shared repository from off site, you may want to look into private repositories with bitbucket. I haven't used them myself, but others have suggested it is a good option.

Note, it's a bit out of date now, but there are some useful pointers to hosted mercurial repositories in a StackOverflow question of mine.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.