perfarce issues

Vlad's Avatar

Vlad

31 May, 2012 05:56 PM

I am trying to clone a repo from p4 through the perfarce extension.
The following error is returned by MacHG:

chg identify --insecure --noninteractive --rev tip p4://mtldevsrc01.autodesk.com:1888/lazarv_hg

Errors:
unknown exception encountered, please report by visiting http://mercurial.selenic.com/wiki/BugTracker Python 2.6.7 (r267:88850, Jul 31 2011, 19:30:54) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] Mercurial Distributed SCM (version 2.0+20111101) ** Extensions loaded: perfarce, graphlog Traceback (most recent call last):
File "/Applications/MacHg.app/Contents/Resources/localhg", line 35, in

mercurial.dispatch.run()

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 27, in run

sys.exit(dispatch(request(sys.argv[1:])))

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 67, in dispatch

return _runcatch(req)

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 90, in _runcatch

return _dispatch(req)

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 691, in _dispatch

cmdpats, cmdoptions)

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 469, in runcommand

ret = _runcommand(ui, options, cmd, d)

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 745, in _runcommand

return checkargs()

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 699, in checkargs

return cmdfunc()

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/dispatch.py", line 688, in

d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/util.py", line 454, in check

return func(*args, **kwargs)

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/commands.py", line 3317, in identify

ctx = scmutil.revsingle(repo, rev)

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/scmutil.py", line 477, in revsingle

l = revrange(repo, [revspec])

File "/Applications/MacHg.app/Contents/PlugIns/LocalMercurial/mercurial/scmutil.py", line 527, in revrange

elif spec and spec in repo: # single unquoted rev

TypeError: argument of type 'p4repo' is not iterable

Clues ?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac