I recently tried to do a putback to a mercurial gate that was locked (I
didn't know it was locked), when I attempted the putback, it confirmed
my push, I said 'Y' and it then puked:
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 3 changes to 3 files
remote: error: pretxnchangegroup hook raised an exception: 'Unknown
repository /hg/pkg/gate or user srw'
remote: transaction abort!
remote: rollback completed
remote: ** unknown exception encountered, details follow
remote: ** report bug details to http://www.selenic.com/mercurial/bts
remote: ** or mercur...@selenic.com
remote: ** Mercurial Distributed SCM (version 1.0.2)
remote: Traceback (most recent call last):
remote: File "/usr/bin/hg", line 20, in ?
remote: mercurial.dispatch.run()
remote: File "build/proto/lib/python/mercurial/dispatch.py", line 20,
in run
remote: File "build/proto/lib/python/mercurial/dispatch.py", line 29,
in dispatch
remote: File "build/proto/lib/python/mercurial/dispatch.py", line 45,
in _runcatch
remote: File "build/proto/lib/python/mercurial/dispatch.py", line 364,
in _dispatch
remote: File "build/proto/lib/python/mercurial/dispatch.py", line 417,
in _runcommand
remote: File "build/proto/lib/python/mercurial/dispatch.py", line 373,
in checkargs
remote: File "build/proto/lib/python/mercurial/dispatch.py", line 356,
in <lambda>
remote: File "/usr/lib/python2.4/commands.py", line 2514, in serve
remote:
remote: File "build/proto/lib/python/mercurial/sshserver.py", line 40,
in serve_forever
remote: File "build/proto/lib/python/mercurial/sshserver.py", line 47,
in serve_one
remote: File "build/proto/lib/python/mercurial/sshserver.py", line
194, in do_unbundle
remote: File "build/proto/lib/python/mercurial/localrepo.py", line
2056, in addchangegroup
remote: File "build/proto/lib/python/mercurial/localrepo.py", line
123, in hook
remote: File "build/proto/lib/python/mercurial/hook.py", line 107, in
hook
remote: File "build/proto/lib/python/mercurial/hook.py", line 51, in
_pythonhook
remote: File "/usr/lib/python2.4/site-packages/scmhooks/hg.py", line
251, in pretxnchangegroup
remote: if true_on_block(common.block_if_anonymous, author) or \
remote: File "/usr/lib/python2.4/site-packages/scmhooks/hg.py", line
226, in true_on_block
remote: (ok_to_commit, message) = func(*args, **kwargs)
remote: File "/usr/lib/python2.4/site-packages/scmhooks/common.py",
line 332, in block_if_global_lock_active
remote: if isLocked(repos) and not isLeader(user, repos):
remote: File "/usr/lib/python2.4/site-packages/scmhooks/common.py",
line 269, in isLeader
remote: raise KeyError, "Unknown repository %s or user %s" % (repos,
user)
remote: KeyError: 'Unknown repository /hg/pkg/gate or user srw'
abort: unexpected response: empty string
Any ideas why the traceback happens?
Cheers,
--
Shawn Walker
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org