[issue982] Operation not permitted error on record
Dirkjan Ochtman
mercurial-bugs at selenic.com
Wed Feb 13 08:08:57 UTC 2008
New submission from Dirkjan Ochtman <dirkjan at ochtman.nl>:
A better error message would be helpful here.
record this change to 'infobase/models.py'? [Ynsfdaq?] n
Traceback (most recent call last):
File "/opt/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 45,
in _runcatch
return _dispatch(ui, args)
File "/opt/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 348,
in _dispatch
ret = _runcommand(ui, options, cmd, d)
File "/opt/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 401,
in _runcommand
return checkargs()
File "/opt/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 357,
in checkargs
return cmdfunc()
File "/opt/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 340,
in <lambda>
d = lambda: func(ui, repo, *args, **cmdoptions)
File "/opt/local/lib/python2.5/site-packages/hgext/record.py", line 406, in record
return cmdutil.commit(ui, repo, recordfunc, pats, opts)
File "/opt/local/lib/python2.5/site-packages/mercurial/cmdutil.py", line 941,
in commit
return commitfunc(ui, repo, files, message, match, opts)
File "/opt/local/lib/python2.5/site-packages/hgext/record.py", line 391, in
recordfunc
patch.internalpatch(fp, ui, 1, repo.root)
File "/opt/local/lib/python2.5/site-packages/mercurial/patch.py", line 292, in
internalpatch
ret = applydiff(ui, fp, files, strip=strip)
File "/opt/local/lib/python2.5/site-packages/mercurial/patch.py", line 994, in
applydiff
current_file.close()
File "/opt/local/lib/python2.5/site-packages/mercurial/patch.py", line 415, in
close
self.write()
File "/opt/local/lib/python2.5/site-packages/mercurial/patch.py", line 410, in
write
os.chmod(dest, st.st_mode)
OSError: [Errno 1] Operation not permitted: 'infobase/models.py'
abort: Operation not permitted: infobase/models.py
----------
messages: 5241
nosy: djc, pbx
priority: bug
status: unread
title: Operation not permitted error on record
topic: ui
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue982>
____________________________________________________
More information about the Mercurial-devel
mailing list