darcs

Issue 445 darcs annotate fails with spaces in file name

Title darcs annotate fails with spaces in file name
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, peter_e, sam.falvo, thorkilnaur, tommy
Assigned To
Topics ProbablyEasy

Created on 2007-04-24.17:02:39 by peter_e, last changed 2009-08-27.14:11:44 by admin.

Messages
msg1661 (view) Author: peter_e Date: 2007-04-24.17:02:21
darcs annotate fails when there are spaces in the file or directory name.  
Example:

$ touch "file name"
$ darcs add file\ name
$ darcs record
addfile ./file\32\name
Shall I record this change? (1/?)  [ynWsfqadjkc], or ? for help: y
What is the patch name? test2
Do you want to add a long comment? [yn]n
Finished recording patch 'test2'
$ darcs annotate file\ name

darcs failed:  There is no file or directory named 'file name'

It works when there are no spaces in the file or directory names.  (Maybe 
other special characters should be checked as well.)
msg1662 (view) Author: sam.falvo Date: 2007-04-24.17:11:13
On 4/24/07, Peter Eisentraut <bugs@darcs.net> wrote:
>
> New submission from Peter Eisentraut <peter_e@gmx.net>:
>
> darcs annotate fails when there are spaces in the file or directory name.
> Example:

Confirmed on 1.0.9rc1 here.  However, I was able to recover the
annotation this way:

$ darcs annotate test\\32\\file

it seems that special characters are not being escaped at the command-level.
msg1663 (view) Author: sam.falvo Date: 2007-04-24.17:12:31
On 4/24/07, Samuel A. Falvo II <sam.falvo@gmail.com> wrote:
> Confirmed on 1.0.9rc1 here.  However, I was able to recover the

I'm sorry, I meant 1.0.9rc2
History
Date User Action Args
2007-04-24 17:02:39peter_ecreate
2007-04-24 17:11:15sam.falvosetstatus: unread -> unknown
nosy: + sam.falvo
messages: + msg1662
2007-04-24 17:12:33sam.falvosetnosy: droundy, tommy, beschmi, kowey, peter_e, sam.falvo
messages: + msg1663
2007-07-16 11:22:59koweysettopic: + ProbablyEasy
nosy: droundy, tommy, beschmi, kowey, peter_e, sam.falvo
2007-07-17 08:06:11koweysetstatus: unknown -> resolved-in-stable
2007-07-17 12:41:18koweylinkissue65 superseder
2008-09-16 21:31:01adminsetstatus: resolved-in-stable -> resolved
nosy: + dagit
2009-08-06 17:36:01adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, peter_e, sam.falvo
2009-08-06 20:33:06adminsetnosy: - beschmi
2009-08-10 22:03:33adminsetnosy: + peter_e, sam.falvo, - markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-11 00:00:22adminsetnosy: - dagit
2009-08-25 17:50:06adminsetnosy: + darcs-devel, - simon
2009-08-27 14:11:44adminsetnosy: tommy, kowey, darcs-devel, peter_e, sam.falvo, thorkilnaur, dmitry.kurochkin