[issue211] addremove/commit broken on both tip and crew
Manpreet Singh
mercurial-bugs at selenic.com
Wed Apr 19 05:02:10 UTC 2006
New submission from Manpreet Singh <junkblocker at yahoo.com>:
...\hg-work>echo abc>abc.txt
...\hg-work>hg addremove
adding abc.txt
...\hg-work>hg commit
abc.txt
mercurial/revlog.py
abort: Permission denied: C:\home\mnsingh\work\hg-work\.hg\00manifest.i
transaction abort!
failed to truncate data\abc.txt.d
failed to truncate data\abc.txt.i
failed to truncate data\mercurial/revlog.py.d
failed to truncate data\mercurial/revlog.py.i
failed to truncate 00manifest.d
failed to truncate 00manifest.i
rollback completed
...\hg-work>hg commit --traceback
abc.txt
mercurial/revlog.py
Traceback (most recent call last):
File "c:\home\foobar\lib\python\mercurial\commands.py", line 3371, in dispatch
return d()
File "c:\home\foobar\lib\python\mercurial\commands.py", line 3346, in <lambda>
d = lambda: func(u, repo, *args, **cmdoptions)
File "c:\home\foobar\lib\python\mercurial\commands.py", line 1082, in commit
repo.commit(files, message, opts['user'], opts['date'], match)
File "c:\home\foobar\lib\python\mercurial\localrepo.py", line 468, in commit
(new, remove))
File "c:\home\foobar\lib\python\mercurial\manifest.py", line 173, in add
p2, cachedelta)
File "c:\home\foobar\lib\python\mercurial\revlog.py", line 933, in addrevision
f = self.opener(self.indexfile, "a")
File "c:\home\foobar\lib\python\mercurial\util.py", line 496, in o
rename(mktempcopy(f), f)
File "c:\home\foobar\lib\python\mercurial\util.py", line 382, in rename
os.unlink(dst)
OSError: [Errno 13] Permission denied:
'C:\\home\\foobar\\work\\hg-work\\.hg\\00manifest.i'
abort: Permission denied: C:\home\foobar\work\hg-work\.hg\00manifest.i
transaction abort!
failed to truncate 00manifest.d
failed to truncate 00manifest.i
rollback completed
...\hg-work>hg log -r tip
changeset: 2087:19fcc2889bad2aba18a1d48e98f1c40b6f187851
tag: tip
parent: 2086:f71e9656524f1c88001c0e47404361523cfc999f
parent: 2072:8742352db413097dc4022b41e98af82266ca73ee
user: Vadim Gelfer <vadim.gelfer at gmail.com>
date: Tue Apr 18 20:33:33 2006 -0700
files:
description:
merge with mainline.
----------
messages: 1037
nosy: junkblocker
priority: critical
status: unread
title: addremove/commit broken on both tip and crew
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue211>
____________________________________________________
More information about the Mercurial
mailing list