Skip to content

perface fails cloning from perforce #6

@lazvlada

Description

@lazvlada

Here is the command and error output:

PS D:\hg> hg clone p4://ssl:myServer:1234/perfarce_workspace
destination directory: perfarce_workspace
pulling from p4://ssl:myServer:1234 using perfarce_workspace
searching for changes
** Unknown exception encountered with possibly-broken third-party extension "perfarce" (version N/A)
** which supports versions unknown of Mercurial.
** Please disable "perfarce" and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
** Mercurial Distributed SCM (version 6.6.3)
** Extensions loaded: perfarce
Traceback (most recent call last):
File "hg", line 58, in
File "mercurial\dispatch.pyc", line 142, in run
File "mercurial\dispatch.pyc", line 231, in dispatch
File "mercurial\dispatch.pyc", line 275, in _rundispatch
File "mercurial\dispatch.pyc", line 456, in _runcatch
File "mercurial\dispatch.pyc", line 466, in _callcatch
File "mercurial\scmutil.pyc", line 152, in callcatch
File "mercurial\dispatch.pyc", line 446, in _runcatchfunc
File "mercurial\dispatch.pyc", line 1271, in _dispatch
File "mercurial\dispatch.pyc", line 904, in runcommand
File "mercurial\dispatch.pyc", line 1283, in _runcommand
File "mercurial\dispatch.pyc", line 1269, in
File "mercurial\util.pyc", line 1878, in check
File "mercurial\util.pyc", line 1878, in check
File "C:/git/perfarce/perfarce.py", line 1531, in clone
r = pull(None, ui, repo, source=source, **pycompat.strkwargs(opts))
File "C:/git/perfarce/perfarce.py", line 1301, in pull
cl = client.describe(c)
File "C:/git/perfarce/perfarce.py", line 792, in describe
desc=self.decode(d[b'desc']),
File "C:/git/perfarce/perfarce.py", line 499, in decode
return text.decode(self.encoding).encode(encoding.encoding)
TypeError: decode() argument 'encoding' must be str, not bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions