add: remove dead code

addremove is already 1 by default.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
build: fix gitk completion link

Also, consider NO_INSTALL_HARDLINKS.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test: use C.UTF-8 locale in tests

The en_US.UTF-8 locale is not guaranteed to exist, and if it doesn't,
several tests fail.

Signed-off-by: Paul Wise <pabs3@bonedaddy.net>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test: add compatibility with Debian hg-git package

Debian has named the hggit python module as hgext.git.

Signed-off-by: Paul Wise <pabs3@bonedaddy.net>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Improve version parsing

Development versions have extra stuff in the form of
'version+distance-id'.

Let's assume we are already in the next major version when in
development.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Fix memfilectx API change

It will change in 3.1.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test: skip tests with broken hg-git compatibility

https://bitbucket.org/durin42/hg-git/issue/115/

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>