mercurial-server

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

狂风中的少年 提交于 2020-01-16 01:31:11
问题 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 problem UPD: way to resolve, and true tutorial for install mercurial-server: on remote server: 0) save your repos to homedir 1) <username>@<remote_server>:$ sudo apt-get purge mercurial mercurial-server 2) <username>@<remote_server>:$ sudo userdel -r hg 3)

Prevent access to some files in webserver - mercurial/ssh

三世轮回 提交于 2019-12-12 03:14:54
问题 I have a centos server with code maintained using a mercurial repo. To allow a new person to commit code to mercurial, I create a new user, add them to the webdev group, and they can push / pull code by hg pull ssh://name@server.com. However, there are some files (config files) that I would not like new users to have access to. Mercurial has been asked not to track these files, so the only way to access them is to ssh into the system and look at the files. Which I dont want new users to be

directory '/var/lib/mercurial-server/' is missing

回眸只為那壹抹淺笑 提交于 2019-12-11 23:57:33
问题 After reinstall mercurial-server, directory '/var/lib/mercurial-server/' missing apt-get purge mercurial-server sudo rm -rf /var/lib/mercurial-server sudo apt-get update sudo apt-get install mercurial mercurial-server i try: shabak@Ubuntu:/etc/mercurial-server$ cd /var/lib/mercurial-server -bash: cd: /var/lib/mercurial-server: No such file or directory I can't find the folder 'repos'. Please help! 回答1: The install script creates and initializes that directory only if the "hg" user doesn't

How to Setup Mercurial Server In Ubuntu To Serve 60 repositories [closed]

落花浮王杯 提交于 2019-12-07 18:12:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . 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 to do that but I am not clearly able to understand. I have some

How to Setup Mercurial Server In Ubuntu To Serve 60 repositories [closed]

穿精又带淫゛_ 提交于 2019-12-06 00:22:46
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . 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 articl e in order to do that but I am not clearly able to understand. I have some following questions: How to install mercurial-server? Does all repo will be controlled by "hg user"