[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] update bug with read only file
From: |
Johan Bolmsjö |
Subject: |
[Monotone-devel] update bug with read only file |
Date: |
Thu, 27 Apr 2006 09:38:55 +0200 |
User-agent: |
KMail/1.9.1 |
Hello,
I found a bug in 0.24, it still exist in 0.26. This is on windows.
Scenario:
You have a working directory with some version controlled files. Change the
permission of them to read only. Sync the monotone database with someone
that has made changes. Do "mtn update", monotone will now crash when it tries
to update the read only files.
----
$ mtn log --next 4
-----------------------------------------------------------------
Revision: 7ee27ff3e659d674a8008c4b7db814fcbac3968c
Ancestor:
Author: address@hidden
Date: 2006-04-27T07:13:31
Branch: test
Added files:
bar
Added directories:
ChangeLog:
-----------------------------------------------------------------
Revision: f200d6554b8b33f3f63b551988641f01bb837ae6
Ancestor: 7ee27ff3e659d674a8008c4b7db814fcbac3968c
Author: address@hidden
Date: 2006-04-27T07:17:05
Branch: test
Modified files:
bar
ChangeLog:
----
address@hidden ~/test/foo
$ chmod 444 bar
address@hidden ~/test/foo
$ ls -l
total 1
drwxr-xr-x 2 johan Administ 0 Apr 27 07:21 _MTN
-r--r--r-- 1 johan Administ 4 Apr 27 07:18 bar
address@hidden ~/test/foo
$ mtn update
mtn: updating along branch 'test'
mtn: selected update target f200d6554b8b33f3f63b551988641f01bb837ae6
mtn: updating bar
mtn: wrote debugging log to c:/Documents and Settings/johan/Mina
dokument/test/foo/_MTN/debug
mtn: if reporting a bug, please include this file
/Johan
debug.gz
Description: GNU Zip compressed data
- [Monotone-devel] update bug with read only file,
Johan Bolmsjö <=