darcs

Issue 1764 darcs mv gets confused when issued with illegal arguments

Title darcs mv gets confused when issued with illegal arguments
Priority not-our-bug Status resolved
Milestone Resolved in
Superseder Nosy List attila.lendvai, darcs-devel, dmitry.kurochkin, kowey
Assigned To
Topics

Created on 2010-03-12.15:10:34 by attila.lendvai, last changed 2010-03-12.15:18:32 by kowey.

Messages
msg10170 (view) Author: attila.lendvai Date: 2010-03-12.15:10:31
mkdir repo
cd repo/
darcs initialize
echo file >file
darcs add file
darcs rec -a -m "a added"
darcs mv file -> b
darcs w -l


will print:

 ./file -> ./-
a ./b
msg10171 (view) Author: attila.lendvai Date: 2010-03-12.15:11:28
both with 2.3.1 and 2.4
msg10172 (view) Author: attila.lendvai Date: 2010-03-12.15:16:57
ouch, my brain's bug
msg10173 (view) Author: kowey Date: 2010-03-12.15:18:30
Attila and I agree that this was just a shell usage think-o, not
Darcs-related or anybody's bug:

"darcs mv file -> b" translates to "darcs mv file -; oh and redirect the
output to a file b".  So darcs dutifully does the mv, and the file b
also gets created.

No problem!
History
Date User Action Args
2010-03-12 15:10:34attila.lendvaicreate
2010-03-12 15:11:30attila.lendvaisetmessages: + msg10171
2010-03-12 15:16:59attila.lendvaisetpriority: not-our-bug
messages: + msg10172
2010-03-12 15:18:32koweysetstatus: unknown -> resolved
nosy: + kowey
messages: + msg10173