unknown exception encountered

Martin Geisler mg at daimi.au.dk
Thu Feb 5 14:18:41 CST 2009


Власов К.С. <kvlasov at ya.ru> writes:

> Good day.
>
> I've got an exception while pushing files. But after that, file
> transfer is ok.
>
> pushing to ssh://xxxxxxxxxxxxxxx
> searching for changes
> ** unknown exception encountered, details follow
> ** report bug details to http://www.selenic.com/mercurial/bts
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 0.9.5)

You're using an old version of Mercurial.

> [...]
> ValueError: invalid literal for int() with base 10: '1 files updated,
> 0 files merged, 0 files removed, 0 files unresolved\n'
> remote: adding changesets
> remote: adding manifests
> remote: adding file changes
> remote: added 1 changesets with 1 changes to 1 files

This bug was fixed in version 1.0. The problem is that output from your
'hg update' hook on the remote side is mixed with the control
information expected by Mercurial.

To make it work with Mercurial 0.9.5 you have to redirect the output of
your hook, something like:

  [hooks]
  changegroup = hg update > /dev/null

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20090205/1bae5772/attachment.pgp 


More information about the Mercurial mailing list