[issue3392] mpatch.mpatchError: patch cannot be decoded

Dmitry bugs at mercurial.selenic.com
Tue Apr 24 03:44:14 CDT 2012


New submission from Dmitry <dmitry.neverov at gmail.com>:

Hi!

from time to time I get an error while updating repository with
subrepos, I run the command:

hg update --config auth.tc.prefix=* --config auth.tc.username=<username> --
config auth.tc.password=<password> --config "auth.tc.schemes=http https" -C 
-r <revision>

the error is:

pulling subrepo <subrepo.name> from <subrepo.url>
requesting all changes
adding changesets
adding manifests
adding file changes

stderr: transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit 
(AMD64)]
** Mercurial Distributed SCM (version 1.7.2)
** Extensions loaded: 
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 36, in dispatch
  File "mercurial\dispatch.pyc", line 58, in _runcatch
  File "mercurial\dispatch.pyc", line 590, in _dispatch
  File "mercurial\dispatch.pyc", line 401, in runcommand
  File "mercurial\dispatch.pyc", line 641, in _runcommand
  File "mercurial\dispatch.pyc", line 595, in checkargs
  File "mercurial\dispatch.pyc", line 588, in <lambda>
  File "mercurial\util.pyc", line 427, in check
  File "mercurial\commands.pyc", line 3869, in update
  File "mercurial\hg.pyc", line 395, in clean
  File "mercurial\merge.pyc", line 532, in update
  File "mercurial\merge.pyc", line 343, in applyupdates
  File "mercurial\subrepo.pyc", line 152, in submerge
  File "mercurial\subrepo.pyc", line 423, in get
  File "mercurial\subrepo.pyc", line 420, in _get
  File "mercurial\localrepo.pyc", line 1294, in pull
  File "mercurial\localrepo.pyc", line 1738, in addchangegroup
  File "mercurial\revlog.pyc", line 1381, in addgroup
  File "mercurial\revlog.pyc", line 1220, in _addrevision
mpatch.mpatchError: patch cannot be decoded

I saw number of similiar bug reports, most of them suggest to run
'hg verify', which doesn't detects any errors in cloned
repository and since sometimes update is successful I think
repository on the server is also OK. How can I debug it futher?

----------
messages: 19726
nosy: neverov
priority: bug
status: unread
title: mpatch.mpatchError: patch cannot be decoded

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3392>
____________________________________________________


More information about the Mercurial-devel mailing list