Questions tagged [mercurial-server]

Mercurial-server is a set of python scripts to manage and share your mercurial repositories easily

Useful links:

20 questions
13
votes
2 answers

Creating new repositories using mercurial-server

According to the "Creating repositories" at http://dev.lshift.net/paul/mercurial-server/docbook.html all we need to do to create new repository - is to clone not existent one. But in 1.1 I doesn't work. And if we look at code: if cmd is None: …
zerkms
  • 249,484
  • 69
  • 436
  • 539
5
votes
3 answers

"No such repository hgadmin" while installing mercurial-server.

I'm trying to install mercurial-server. After adding my keys to keys/root and refreshing auth, I tried to clone hgadmin-repo but I get the following error: $ hg clone ssh://hg@/hgadmin remote: mercurial-server: no such repository…
4
votes
1 answer

Can I delete repositories from mercurial-server?

I made a repository as a test a while ago but I now want to create a different repository with the same name - is there a way to delete an existing repository using mercurial-server, and create another one with the same name? Or perhaps a way to…
Ben Hymers
  • 25,586
  • 16
  • 59
  • 84
4
votes
5 answers

Does mercurial-server support subrepo?

I installed mercurial-server on one of my machines, cloned my project there, it has 3 subrepos, and when I try to clone it back to another location I get an error: remote: mercurial-server: Cannot create repo under existing repo abort: no…
Esteban Feldman
  • 3,288
  • 6
  • 32
  • 31
3
votes
0 answers

How to Setup Mercurial Server In Ubuntu To Serve 60 repositories

I want to have around 60 repositories of projects and I want to serve them from a dedicated remote server(ubuntu) with the help of mercurial-server so that all my developers will be able to update their changes. I have followed this article in order…
Subhransu Mishra
  • 3,035
  • 11
  • 40
  • 47
2
votes
3 answers

Restrict Mercurial repository access

I have a Mercurial server using mercurial-server. I edited access.conf in hgadmin repo as follows: deny repo=a/b read user=x/** read user=y/** write repo=a/b user=x/abc write repo=a/b user=y/z But user z still can't access this repo. Any ideas?
Eslam
  • 1,623
  • 2
  • 12
  • 18
2
votes
1 answer

mercurial-server: Password is asked for ssh

I'm trying to manage my mercurial repos on my server (Debian Lenny) with mercurial-server from LShift. I was using this tutorial: http://kurtgrandis.com/blog/2010/03/20/gitosis-for-mercurial/ But when I try to clone the hgadmin repo, ssh asks me for…
23tux
  • 14,104
  • 15
  • 88
  • 187
1
vote
0 answers

Mercurial repo access order

i'm facing now a new weird problem i have roles in access.conf of hgadmin repo as following: read repo=a/b user=users/x deny repo=a/b this lead to user x can't clone this repo another roles : read repo=a/b user=users/* deny repo=a/b this lead…
Eslam
  • 1,623
  • 2
  • 12
  • 18
1
vote
2 answers

Controlling access via hgweb.config

I would like to be able to control access to some mercurial repositories on my server. I thought an easy solution would be to have all limited users have a username that ends with "_external". I would then change the deny_push and deny_read on…
Jake Pearson
  • 27,069
  • 12
  • 75
  • 95
1
vote
2 answers

dotencode property through mercurial-server issue

Just want to notice: this issue is only about sharing mercurial using mercurial-server Steps to reproduce: create new repository with hg init try to clone it through mercurial-server: hg clone ssh://hg@192.168.132.72/test2 . remote: abort: There…
zerkms
  • 249,484
  • 69
  • 436
  • 539
1
vote
0 answers

No email sent with hg push after setup with mercurial-server package

I published a repository using the version control program mercurial. More specifically, I installed the mercurial-server program and followed the instructions as given at…
Adriaan
  • 715
  • 10
  • 22
1
vote
1 answer

mercurial-server pretxncommit hook not working

Server $ hg --version Mercurial Distributed SCM (version 2.0.2) /usr/share/mercurial-server$ cat mercurial_server-1.1.egg-info Metadata-Version: 1.1 Name: mercurial-server Version: 1.1 $ cat…
yodhevauhe
  • 765
  • 3
  • 11
  • 33
1
vote
3 answers

mercurial-server says: No section: 'paths' Must be run as the 'hg' user

I try to tune hg through this (official) tutorial: http://dev.lshift.net/paul/mercurial-server/docbook.html when i try: sudo -u hg /usr/share/mercurial-server/refresh-auth it says: No section: 'paths' Must be run as the 'hg' user So it is a…
Nikolay Shabak
  • 576
  • 1
  • 7
  • 18
1
vote
1 answer

Mercurial-server add permissions to my repository

I'm using mercurial-server to manage my repositories in the enterprise server. I created a repository for each user and I wanted each of them could give access to another, ie, each user would have access control to your projects in your repository.…
Jorge B.
  • 1,144
  • 2
  • 17
  • 37
0
votes
3 answers

Restricting "hg push" via hg-ssh for shared hosting

Would anyone know how I can restrict users from pushing to an hg repository if I give then access via hg-ssh? Some details to help eliminate the obvious: 1) This is a for a shared hosting situation where I don't have root access to install…
roshanjames
  • 276
  • 1
  • 7
1
2