[issue2239] hg clone error on Mac

mmoses bugs at mercurial.selenic.com
Wed Jun 16 12:21:35 UTC 2010


New submission from mmoses <mark at beechwoods.com>:

** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Python 2.6.1 (r261:67515, Feb 11 2010, 15:47:53) [GCC 4.2.1 (Apple Inc. build 5646)]
** Mercurial Distributed SCM (version 1.5.4+20100601)
** Extensions loaded: mq, purge, color, fetch
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 30, in dispatch
    return _runcatch(u, args)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 50, in _runcatch
    return _dispatch(ui, args)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 471, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 341, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 522, in _runcommand
    return checkargs()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 476, in checkargs
    return cmdfunc()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 470, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 401, in check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/commands.py", line 681, in clone
    branch=opts.get('branch'))
  File "/Library/Python/2.6/site-packages/mercurial/hg.py", line 349, in clone
    _update(dest_repo, uprev)
  File "/Library/Python/2.6/site-packages/mercurial/hg.py", line 363, in update
    stats = _merge.update(repo, node, False, False, None)
  File "/Library/Python/2.6/site-packages/mercurial/merge.py", line 495, in update
    _checkunknown(wc, p2)
  File "/Library/Python/2.6/site-packages/mercurial/merge.py", line 77, in _checkunknown
    for f in wctx.unknown():
  File "/Library/Python/2.6/site-packages/mercurial/context.py", line 660, in unknown
    return self._status[4]
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 156, in __get__
    result = self.func(obj)
  File "/Library/Python/2.6/site-packages/mercurial/context.py", line 622, in _status
    return self._repo.status(unknown=True)
  File "/Library/Python/2.6/site-packages/mercurial/localrepo.py", line 1017, in status
    listclean, listunknown)
  File "/Library/Python/2.6/site-packages/mercurial/dirstate.py", line 625, in status
    listignored).iteritems():
  File "/Library/Python/2.6/site-packages/mercurial/dirstate.py", line 547, in walk
    entries = listdir(join(nd), stat=True, skip=skip)
TypeError: listdir() takes at most 2 arguments (3 given)

----------
messages: 12840
nosy: mmoses
priority: critical
status: unread
title: hg clone error on Mac

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


More information about the Mercurial-devel mailing list