darcs

Issue 707 Filenames with spaces issue

Title Filenames with spaces issue
Priority bug Status duplicate
Milestone Resolved in
Superseder encode spaces in filenames for darcs-2 format.
View: 706
Nosy List darcs-devel, dmitry.kurochkin, kowey, simonmar, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-02-26.10:05:43 by simonmarhaskell, last changed 2009-10-24.00:39:40 by admin.

Messages
msg3662 (view) Author: simonmar Date: 2008-02-26.10:05:40
I mentioned there might be a problem with filenames containing spaces.  I 
just tried a few things and managed to reproduce some strange behaviour.

'darcs' is darcs 1.0.9
'darcs2' is darcs-unstable pulled yesterday

$ mkdir foo
$ cd foo
$ darcs init
$ touch 'A B'
$ darcs add 'A B'
$ darcs rec -a
What is the patch name? fo
Do you want to add a long comment? [yn]
$ ls
A B  _darcs/
$ darcs check
Applying patch 1 of 1... done.
The repository is consistent!
$ ~/darcs/darcs-unstable/darcs check
The repository is consistent!
$ cd ..
$ ~/darcs/darcs-unstable/darcs convert foo foo2
Finished converting.
$ cd foo2
$ ls
A B  _darcs/
$ ~/darcs/darcs-unstable/darcs check
Looks like we have a difference...
Difference:  rmfile ./A

Inconsistent repository!
zsh: 20274 exit 1     ~/darcs/darcs-unstable/darcs check

This behaviour is *not* fixed by recompiling with --disable-bytestring, 
incedentally.

Also, darcs2 fails to check the GHC darcs2 repository, giving this error:

rmfile ./WindowsInstaller/Glasgow\92\32\92\Haskell\92\32\92\Compiler.ism

Inconsistent repository!

Cheers,
	Simon
History
Date User Action Args
2008-02-26 10:05:43simonmarhaskellcreate
2008-02-26 22:47:14droundysetpriority: bug
status: unread -> duplicate
superseder: + encode spaces in filenames for darcs-2 format.
nosy: droundy, tommy, beschmi, kowey, simonmarhaskell
2009-08-06 17:54:59adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, simonmarhaskell
2009-08-06 20:58:54adminsetnosy: - beschmi
2009-08-10 22:16:10adminsetnosy: + simonmarhaskell, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:06:13adminsetnosy: + darcs-devel, - simon
2009-08-27 13:56:03adminsetnosy: tommy, kowey, darcs-devel, simonmarhaskell, thorkilnaur, dmitry.kurochkin
2009-10-24 00:39:40adminsetnosy: + simonmar, - simonmarhaskell