[Bug 4125] New: UnicodeDecodeError on unbundling

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Dec 9 03:13:06 CST 2013


http://bz.selenic.com/show_bug.cgi?id=4125

          Priority: normal
            Bug ID: 4125
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: UnicodeDecodeError on unbundling
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: qtgui at yandex.ru
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.8.1
         Component: Mercurial
           Product: Mercurial

I never had this issue in older versions of Mercurial (used 2.2.x until today)
so i consider it a bug. Here is the callstack:

hg unbundle .hg/strip-backup/4babdf01b8be-backup.hg
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 2.8.1)
** Extensions loaded: largefiles, purge, rebase, color, histedit
Traceback (most recent call last):
  File "hg", line 42, in <module>

  File "mercurial\dispatch.pyo", line 28, in run
  File "mercurial\dispatch.pyo", line 69, in dispatch
  File "mercurial\dispatch.pyo", line 133, in _runcatch
  File "mercurial\dispatch.pyo", line 806, in _dispatch
  File "mercurial\dispatch.pyo", line 585, in runcommand
  File "mercurial\extensions.pyo", line 196, in wrap
  File "hgext\color.pyo", line 417, in colorcmd
  File "mercurial\dispatch.pyo", line 897, in _runcommand
  File "mercurial\dispatch.pyo", line 868, in checkargs
  File "mercurial\dispatch.pyo", line 803, in <lambda>
  File "mercurial\util.pyo", line 512, in check
  File "mercurial\commands.pyo", line 5781, in unbundle
  File "mercurial\hg.pyo", line 98, in openpath
  File "mercurial\url.pyo", line 480, in open
  File "urllib2.pyo", line 400, in open
  File "urllib2.pyo", line 418, in _open
  File "urllib2.pyo", line 378, in _call_chain
  File "urllib2.pyo", line 1310, in file_open
  File "urllib2.pyo", line 1335, in open_local_file
  File "mimetypes.pyo", line 294, in guess_type
  File "mimetypes.pyo", line 355, in init
  File "mimetypes.pyo", line 259, in read_windows_registry
  File "mimetypes.pyo", line 249, in enum_types
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal
not in range(128)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list