darcs

Issue 65 Annotate doesn't correctly escape paths

Title Annotate doesn't correctly escape paths
Priority bug Status resolved
Milestone Resolved in
Superseder darcs annotate fails with spaces in file name
View: 445
Nosy List dagit, darcs-devel, dmitry.kurochkin, jonathon, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2005-12-19.13:17:28 by jonathon, last changed 2009-12-07.23:00:19 by dagit.

Files
File name Uploaded Type Edit Remove
unnamed dagit, 2009-12-07.22:55:10 text/plain
Messages
msg246 (view) Author: jonathon Date: 2005-12-19.13:17:27
The annotate command does not work consistently with paths with spaces:

% mkdir testrepo
% cd testrepo ; darcs init
% mkdir with\ spaces
% echo content > "with spaces"/file
% darcs record -al
% darcs changes with\ spaces/file
Changes to with spaces/file:

Mon Dec 19 23:44:11 CST 2005  Author
  * First patch
% darcs annotate with\ spaces/file

darcs failed:  There is no file or directory named 'with spaces/file'
% darcs annotate with\\32\\spaces/file
# File with\32\spaces/file created by [First patch
# Author**20051219131411]  as ./with\32\spaces/file

% cd "with spaces" ; darcs annotate file

darcs failed:  There is no file or directory named 'with spaces/file'
msg1857 (view) Author: kowey Date: 2007-07-17.12:41:15
Likely fixed by Edwin Thomson's patch, now in the stable branch.
msg9558 (view) Author: dagit Date: 2009-12-07.23:00:13
Sorry about the noise.  I meant to send to patch65, but somehow I typed:
$ darcs send --subject "[Patch65]"

and it ended up here by mistake.  I have deleted the extra bits from this ticket
and set things back to resolved.
History
Date User Action Args
2005-12-19 13:17:28jonathoncreate
2006-01-08 19:49:45tommysetpriority: urgent -> bug
nosy: droundy, tommy, jonathon
2007-07-17 12:41:18koweysetstatus: unread -> resolved-in-stable
nosy: + kowey, beschmi
superseder: + darcs annotate fails with spaces in file name
messages: + msg1857
2008-09-16 21:30:04adminsetstatus: resolved-in-stable -> resolved
nosy: + dagit
2009-08-06 17:51:23adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, jonathon
2009-08-06 20:47:27adminsetnosy: - beschmi
2009-08-10 22:14:00adminsetnosy: + jonathon, - markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-11 00:06:22adminsetnosy: - dagit
2009-08-25 18:02:47adminsetnosy: + darcs-devel, - simon
2009-08-27 14:10:38adminsetnosy: tommy, kowey, darcs-devel, jonathon, thorkilnaur, dmitry.kurochkin
2009-12-07 22:55:16dagitsetfiles: + remove-commutex.dpatch, unnamed
status: resolved -> unknown
messages: + msg9557
nosy: + dagit
2009-12-07 22:59:04dagitsetfiles: - remove-commutex.dpatch
2009-12-07 22:59:19dagitsetmessages: - msg9557
2009-12-07 23:00:19dagitsetstatus: unknown -> resolved
messages: + msg9558