[Bug 6625] New: When running hg pull -u (locally) and error occured: hg 5.5

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Dec 16 08:03:46 UTC 2021


https://bz.mercurial-scm.org/show_bug.cgi?id=6625

            Bug ID: 6625
           Summary: When running hg pull -u (locally) and error occured:
                    hg 5.5
           Product: Mercurial
           Version: earlier
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: oub.oub.oub at gmail.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

Here is the trace:
hg pull -u local
pulling from /home/oub/ALLES/HGs/tex/vorlesungen/HGCal-Num-Transp
searching for changes
 ChangeLog                  |   4 ++++
 English/master-english.tex |  10 +++++-----
 English/part1_CN.tex       |   9 ++++++++-
 3 files changed, 17 insertions(+), 6 deletions(-)
adding changesets
adding manifests
adding file changes
added 1 changesets with 3 changes to 3 files
new changesets be58dca786ba
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 ChangeLog                  |   4 ++++
 English/master-english.tex |  10 +++++-----
 English/part1_CN.tex       |   9 ++++++++-
 3 files changed, 17 insertions(+), 6 deletions(-)
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.5.2 (default, Jan 26 2021, 13:30:48) [GCC 5.4.0 20160609]
** Mercurial Distributed SCM (version 5.5)
** Extensions loaded: evolve, topic, absorb, blackbox, beautifygraph, churn,
closehead, eol, extdiff, convert, fetch, hggit, hgk, histedit, journal,
keyword, strip, mq, patchbomb, purge, rebase, releasenotes, remotenames, share,
show, notify
Traceback (most recent call last):
  File "/usr/bin/hg", line 43, in <module>
    dispatch.run()
  File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 113, in run
    status = dispatch(req)
  File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 303, in
dispatch
    ret = _runcatch(req) or 0
  File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 479, in
_runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 488, in
_callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 152, in
callcatch
    return func()
  File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 469, in
_runcatchfunc
    return _dispatch(req)
  File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1233, in
_dispatch
    lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
  File "/usr/lib/python3/dist-packages/hgext/journal.py", line 93, in
runcommand
    return orig(lui, repo, cmd, fullargs, *args)
  File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 927, in
runcommand
    opts=cmdoptions,
  File "/usr/lib/python3/dist-packages/mercurial/hook.py", line 260, in hook
    res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
  File "/usr/lib/python3/dist-packages/mercurial/hook.py", line 335, in
runhooks
    r = _exthook(ui, repo, htype, hname, cmd, args, throw)
  File "/usr/lib/python3/dist-packages/mercurial/hook.py", line 168, in
_exthook
    v = stringutil.pprint(v)
  File "/usr/lib/python3/dist-packages/mercurial/utils/stringutil.py", line 51,
in pprint
    return b''.join(pprintgen(o, bprefix=bprefix, indent=indent, level=level))
  File "/usr/lib/python3/dist-packages/mercurial/utils/stringutil.py", line
128, in pprintgen
    v, bprefix=bprefix, indent=indent, level=level
  File "/usr/lib/python3/dist-packages/mercurial/utils/stringutil.py", line 71,
in pprintgen
    yield b"'%s'" % escapestr(o)
  File "/usr/lib/python3/dist-packages/mercurial/utils/stringutil.py", line
631, in escapestr
    return codecs.escape_encode(s)[0]
SystemError: ../Objects/bytesobject.c:3564: bad argument to internal function

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


More information about the Mercurial-devel mailing list