Issue864

Title darcs replace in already moved file
Priority urgent Status chatting
Superseder Nosy List Serware, beschmi, dagit, kowey, ppessi, tommy
Assigned To Topics Darcs2, IncludesExampleOrTest, Regression

Created on 2008-05-19.13:51:53 by ppessi, last changed 2008-05-23.11:13:05 by kowey.

Files
File name Uploaded Type Edit Remove
added-bugs_replace_in_moved_sh-for-bug-864_.dpatch ppessi, 2008-05-19.14:03:50 application/octet-stream
added-bugs_replace_in_moved_sh-for-bug-864_.dpatch ppessi, 2008-05-19.14:16:47 application/octet-stream
replace-in-moved.sh ppessi, 2008-05-19.13:51:51 application/x-sh
Messages
msg4769 (view) Author: ppessi Date: 2008-05-19.14:16:47
2008/5/19 Eric Kow <bugs@darcs.net>:
>  How about just darcs sending the patch?

Sorry, I was sending against my own repo and not darcs.net. Here is
patch with correct context.
msg4767 (view) Author: kowey Date: 2008-05-19.14:08:53
Hmm... I got the following error, even though I'm up to date:

darcs: Cannot apply this patch bundle, since we're missing:
Thu May 15 23:50:20 BST 2008  Pekka Pessi <pekka.pessi@nokia.com>
  * Linking multiple times with libwww components with -static

  Libwww --libs are in wrong order for static linking.

How about just darcs sending the patch?
msg4765 (view) Author: ppessi Date: 2008-05-19.14:03:50
Test script as dpatch as requested...
msg4764 (view) Author: kowey Date: 2008-05-19.13:55:41
Pekka: thanks! Please stick this in bugs/ and send a patch :-)
msg4763 (view) Author: ppessi Date: 2008-05-19.13:51:51
Usually darcs replace works gracefully even if the file has been
edited and edits contain new tokens.

However, with darcs 2, darcs replace fails on already darcs mv'd files.

Test script attached.

Browse related patches: unstable | stable

History
Date User Action Args
2008-05-23 11:13:05koweysetpriority: bug -> urgent
nosy: tommy, beschmi, kowey, dagit, ppessi, Serware
2008-05-19 14:16:50ppessisetfiles: + added-bugs_replace_in_moved_sh-for-bug-864_.dpatch
nosy: tommy, beschmi, kowey, dagit, ppessi, Serware
messages: + msg4769
2008-05-19 14:08:56koweysetnosy: tommy, beschmi, kowey, dagit, ppessi, Serware
messages: + msg4767
2008-05-19 14:03:53ppessisetfiles: + added-bugs_replace_in_moved_sh-for-bug-864_.dpatch
nosy: tommy, beschmi, kowey, dagit, ppessi, Serware
messages: + msg4765
2008-05-19 13:57:21koweysettopic: + Darcs2, Regression
nosy: + Serware
2008-05-19 13:56:28koweylinkissue863 superseder
2008-05-19 13:55:45koweysetpriority: bug
nosy: + kowey
topic: + IncludesExampleOrTest
status: unread -> chatting
messages: + msg4764
2008-05-19 13:51:53ppessicreate