Showing posts with label mercurial. Show all posts
Showing posts with label mercurial. Show all posts

Wednesday, December 16, 2009

Disabled Mercurial's strip command

Mercurial command hg strip is disabled by default in Ubuntu. To enable it add to hgrc file (in .hg directory of repository or /etc/mercurial/hgrc) these lines
[extensions]
hgext.mq =

Tuesday, December 8, 2009

Mercurial server in haste

Just now I need to pull to spontaneous remote Mercurial repository. I ran hg serve and have tried to push. The server rejects my connection, because it demands secure connection. Attempts to change protocol to HTTPS were failed.
As decision I found the following: in hgrc (or mercurial.ini in Windows) add
[web]
allow_push = *
push_ssl = false

Profit :)

Saturday, November 28, 2009

Disabled `hg view` command in Ubuntu

To enable `hg view` command it's needs to add
[extensions]
hgk=
in your repository hgrc (.hg/hgrc) or system-wide(/etc/mercurial/hgrc)
Or you might also need to install the tk package.