hghooks\hglock: TypeError: applyupdates() got an unexpected keyword argument 'labels'
Created originally on Bitbucket by kfarre (Kathrine Farre)
I have TortoiseHG 3.3.3.
I get the text below when I do update in a repository.
When I comment away the line about "hglock = c:\hghooks\hglock" in the global settings file, it is possible to do update.
This is even if the repository do not use hglock.
Tortoise version 2.11.1 works with hghooks\hglock.
#!python
% hg update --verbose --config ui.merge=internal:merge --rev tip --clean
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.3.3)
** Extensions loaded: hglock, mercurial_keyring, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
File "hg", line 42, in <module>
File "mercurial\dispatch.pyo", line 28, in run
File "mercurial\dispatch.pyo", line 71, in dispatch
File "mercurial\dispatch.pyo", line 140, in _runcatch
File "mercurial\dispatch.pyo", line 863, in _dispatch
File "mercurial\dispatch.pyo", line 624, in runcommand
File "mercurial\dispatch.pyo", line 954, in _runcommand
File "mercurial\dispatch.pyo", line 925, in checkargs
File "mercurial\dispatch.pyo", line 860, in <lambda>
File "mercurial\util.pyo", line 711, in check
File "mercurial\commands.pyo", line 5538, in serve
File "mercurial\cmdutil.pyo", line 592, in service
File "mercurial\commandserver.pyo", line 289, in run
File "mercurial\commandserver.pyo", line 242, in serve
File "mercurial\commandserver.pyo", line 220, in serveone
File "mercurial\commandserver.pyo", line 203, in runcommand
File "mercurial\dispatch.pyo", line 71, in dispatch
File "mercurial\dispatch.pyo", line 140, in _runcatch
File "mercurial\extensions.pyo", line 194, in wrap
File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
File "mercurial\dispatch.pyo", line 863, in _dispatch
File "mercurial\dispatch.pyo", line 624, in runcommand
File "mercurial\dispatch.pyo", line 954, in _runcommand
File "mercurial\dispatch.pyo", line 925, in checkargs
File "mercurial\dispatch.pyo", line 860, in <lambda>
File "mercurial\util.pyo", line 711, in check
File "mercurial\commands.pyo", line 6262, in update
File "mercurial\hg.pyo", line 521, in clean
File "mercurial\hg.pyo", line 506, in updaterepo
File "mercurial\merge.pyo", line 1142, in update
File "mercurial\extensions.pyo", line 194, in wrap
TypeError: applyupdates() got an unexpected keyword argument 'labels'
cmdserver: process exited unexpectedly with code 255
RoD%
And after comment of hghooks in global settings file:
#!python
RoD% % hg update --verbose --config ui.merge=internal:merge --rev tip --clean
resolving manifests
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
[command completed successfully Thu Apr 23 14:56:28 2015]
RoD%