Mercurial is a fast, open-source, distributed version control system.

learn more… | top users | synonyms

0
votes
1answer
47 views

hg:command not found [closed]

I am trying to clone a repository from bitbucket, and I installed mercurial, and copied the HTTPS command. When I run this command I still get hg: command not found, why is this?
0
votes
1answer
34 views

Mixing authentication types in Apache

Currently, I'm using Apache to host my project repos (mercurial) and use Kerberos auth for users to push. The same Kerberos password is used to log in through SSH and there is a LDAP backend for user ...
2
votes
1answer
301 views

Get 'python-keyring' to stop prompting for 'encrypted keyring' password

Situation: I followed these instructions (http://mercurial.selenic.com/wiki/KeyringExtension) on setting up the mercurial keyring-extension for mercurial. On a Ubuntu 12.04.4 (precise) machine it ...
3
votes
2answers
174 views

using modified file content as arguments

In a script I'd like to purge a mercurial repository but be able to retain a number of (configurable) file patterns which I read from $FILENAME. The syntax for the hg command is hg purge --all ...
1
vote
1answer
356 views

How does ssh pick which key to use?

I'm using the following as a forced command with hg-ssh. This forced command is designed to just allow pushes with hg. However, I must be doing something wrong, because I can actually log in with ...
4
votes
2answers
543 views

Why and how to track /var/log/dmesg with version control

On this wiki they recommend tracking /var/log/dmesg using Mercurial. I wanted to set up a cron job on CentOS 6.4 like on this page to remind myself to make commit messages for such a repo. However, ...
1
vote
1answer
96 views

HGRCPATH kept in /etc/sudoers, yet ignored by hg?

I'm trying to follow the directions here under "sudo and multiple users". I believe I managed to modify /etc/sudoers correctly enough (by adding Defaults :me env_keep += "HGRCPATH" at the beginning ...
4
votes
1answer
319 views

Best practices for packaging self created software for Debian

I've got Debian packaging for a piece of software I've written. This software probably is too specialized to be part of Debian. In any case, for now I have no plans to try to include it in Debian. ...
1
vote
1answer
406 views

I quite like mercurial .hgignore-style globbing. Is there a Linux shell that supports it?

I quite like mercurial .hgignore-style pattern globbing. Globs are rooted at the current directory; a glob such as *.c will only match files in the current directory ending with .c. The ...
1
vote
2answers
58 views

Better string escaping for hg

So periodically I remove files that are listed as missing by the version control system hg. What I've noticed is that this (admittedly ugly) script I have does not properly escape strings: hg status ...
1
vote
1answer
152 views

Filter / select folders using wildcards

For my mecurial ignore file I want to select all the folders that start with dataset in my project folder with with one 'glob statement'. Example project folder: my_project_folder/ dataset1/ ...
3
votes
1answer
489 views

How do I push a Mercurial repository to BitBucket over ssh? [closed]

I created a public key for ssh and registered that key with BitBucket. I then attempted to push: $ hg push ssh://jhayward@bitbucket.org/johncharrell/[project name] pushing to ...
3
votes
1answer
190 views

ZSH, vcs_info, Mercurial, and Trac: weird branch and revision

I'm using zsh with vcs_info and it works nicely except when browsing a repo which is set up for Trac/Mercurial. Specifically, the hgrc for the repo has the following line in [hooks]: changegroup = ...
5
votes
1answer
368 views

vim.googlecode.com SSL certificate change

I am building vim from source and keep having to update the SSL hostfingerprints of my ~/.hgrc file. It's getting a little silly and large – see below. The pattern is the same: run update, ...
5
votes
2answers
611 views

Mercurial (hg) not respecting default ACL settings

I'm trying to set fine grained access control to various mercurial repositories using ACL. When I push changes to repository any new files created under /myrepo/.hg/store/data do not have default ...
4
votes
1answer
2k views

How can I add a certificate to Mercurial?

I use Arch Linux, when I want to clone a project from bitbucket with mercurial I get this error: warning: bitbucket.org certificate with fingerprint 24:...:3b not verified (check hostfingerprints ...
5
votes
1answer
198 views

GlusterFS & Mercurial don't like each other

I did setup GlusterFS but when I mounted the directory on the client and did hg clone myrepo myrepo in that mounted directory, it's giving the following error: requesting all changes adding ...
3
votes
1answer
601 views

How to get hgk working on RedHat Linux?

I plan to get hgk to work.However, no matter how I configure the redhat linux, it still does not have any response. Here is information for my machine. RedHat 5.3 Mercurial 1.8.1-1 I installed ...
1
vote
0answers
486 views

How do I install hgview on Ubuntu?

I'm trying to install hgview on Ubuntu, but it's not working. $ hg version Mercurial Distributed SCM (version 2.1) (see http://mercurial.selenic.com for more information) Copyright (C) 2005-2012 ...
3
votes
2answers
596 views

How to change file permissions for newly generated files in largefiles directory of Mercurial?

I got some Mercurial repositories which are served by Apache over HTTP. But there is a dedicated user performing some automated tests, which needs to check out the repositories locally. Recently this ...
1
vote
2answers
245 views

Generate a list of files from a file containing a series of globbing patterns

I am looking for a way to build a list of files by parsing a file that contains a sequence of zsh globbing patterns. The final goal is to pass this list of files to hg add in mercurial. For those ...
3
votes
1answer
2k views

How to fully sync local repository using Mercurial (bitbucket)

I'm new to VCS and I decided to give Mercurial a try. I signed up for bitbucket and created some repositories. The I created /home/max/hgrepo/ and ran hg clone ...
1
vote
1answer
410 views

restricting pushes to selected Mercurial repositories using `ssh` forced commands and `hg-ssh`

The context of this question is the hg-ssh script. It is helpful but not critical to know something about Mercurial. This script sets up a forced command using public keys so the given public key ...
6
votes
3answers
2k views

Tab-completion for Mercurial in Bash?

Using Subversion on the command-line, it intelligently tab-completes available subcommands, etc: $ svn c<tab> cat checkout cl co copy changelist ci ...