ProjrcExtension questions
Angel Ezquerra
angel.ezquerra at gmail.com
Fri Dec 16 10:44:03 UTC 2011
Hi,
I'm trying to setup the ProjrcExtension
(http://mercurial.selenic.com/wiki/ProjrcExtension) and I am having
some problems. Perhaps someone that has used it (or developed it,
right Martin? *hint* *hint* ;-) ) can help me figure out what I am
doing wrong.
I setup a repository and I added a projrc file to the .hg folder. The
.hg/projrc file contents were:
[extensions]
highlight=
The idea was to try to see if I could automatically enable an
extension. The particular extension that I was trying to enable does
not matter.
I started the mercurial web server on that repo and cloned
http://localhost:8000. This created a clone of the repository which
has a copy of the projrc file in its .hg folder.
The problem is that when I opened the clone in TortsoiseHg and when to
the settings dialog the extension was not enabled.
I then changed the source repository .hg/projrc file to:
[tortoisehg]
forcerepotab = False
On the clone I stripped one and then I pulled from the source. This
did not update the clone's .hg/projrc file as I would expect. On the
other hand I created a new clone and the new clone did have a copy of
the new projrc file. However, I don't see the forcerepo tab TortoiseHg
setting disabled on this second clone either.
What is going in? Is this even supposed to work? I mean, is TortoiseHg
meant to pickup the changes in the projrc file?
Cheers,
Angel
More information about the Mercurial
mailing list