[issue1699] MacOS-X (10.4.11): IOError invalid mode "wb"
pm
mercurial-bugs at selenic.com
Tue Jun 16 21:25:45 UTC 2009
New submission from pm <mercurial at planetmaker.de>:
The following traceback is thrown, if I try to update or clone the repository
http://mz.openttdcoop.org/hg-repos/worldairlineset
The repository directory is write-able by the user.
Traceback (most recent call last):
File "/usr/local/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 25, in dispatch
return _runcatch(u, args)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 41, in _runcatch
return _dispatch(ui, args)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 372, in _dispatch
return runcommand(lui, repo, cmd, fullargs, ui, options, d)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 247, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 417, in _runcommand
return checkargs()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 377, in checkargs
return cmdfunc()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/dispatch.py",
line 371, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/util.py",
line 718, in check
return func(*args, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/commands.py",
line 2932, in update
return hg.update(repo, rev)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/hg.py",
line 257, in update
stats = _merge.update(repo, node, False, False, None)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/merge.py",
line 496, in update
stats = applyupdates(repo, action, wc, p2)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/merge.py",
line 337, in applyupdates
repo.wwrite(f, t, flags)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/localrepo.py",
line 588, in wwrite
self.wopener(filename, 'w').write(data)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mercurial/util.py",
line 1625, in __call__
fp = posixfile(f, mode)
IOError: invalid mode: wb
aeolusreloaded:~/ottd/grfdev/worldairlineset ingo$ hg --version
Mercurial Distributed SCM (version 1.2.1)
----------
messages: 9525
nosy: planetmaker
priority: critical
status: unread
title: MacOS-X (10.4.11): IOError invalid mode "wb"
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1699>
____________________________________________________
More information about the Mercurial-devel
mailing list