darcs

Patch 1141 Accept issue2380: darcs wont rename a file to the name...

Title Accept issue2380: darcs wont rename a file to the name...
Superseder Nosy List owst
Related Issues
Status accepted Assigned To
Milestone

Created on 2014-04-22.11:56:27 by owst, last changed 2014-05-09.20:30:22 by gh.

Files
File name Status Uploaded Type Edit Remove
accept-issue2380_-darcs-wont-rename-a-file-to-the-name-of-a-deleted-file.dpatch owst, 2014-04-22.11:56:27 application/x-darcs-patch
accept-issue2380_-darcs-wont-rename-a-file-to-the-name-of-a-deleted-file.dpatch owst, 2014-04-22.12:05:17 application/x-darcs-patch
patch-preview.txt owst, 2014-04-22.11:56:27 text/x-darcs-patch
patch-preview.txt owst, 2014-04-22.12:05:17 text/x-darcs-patch
unnamed owst, 2014-04-22.11:56:27
unnamed owst, 2014-04-22.12:05:17
See mailing list archives for discussion on individual patches.
Messages
msg17372 (view) Author: owst Date: 2014-04-22.11:56:27
1 patch for repository http://darcs.net:

Tue Apr 22 12:49:17 BST 2014  Owen Stephens <darcs@owenstephens.co.uk>
  * Accept issue2380: darcs wont rename a file to the name of a deleted file
Attachments
msg17374 (view) Author: owst Date: 2014-04-22.12:05:17
1 patch for repository http://darcs.net:

Tue Apr 22 13:03:00 BST 2014  Owen Stephens <darcs@owenstephens.co.uk>
  * Accept issue2380: darcs wont rename a file to the name of a deleted file
Attachments
msg17378 (view) Author: gh Date: 2014-04-22.17:58:15
Hi Owen!

When running these steps manually, I can't do the step "darcs mv other
foo", all I get is:

"darcs failed:  cannot move File foo into other : did you already move
it elsewhere?"

Is that what you want your script to do?
msg17382 (view) Author: owst Date: 2014-04-22.21:55:36
gh: which version of darcs did you try with?

I'm seeing this output with HEAD:

darcs failed:  A file or dir named foo (or perhaps differing only in case)
already exists in repository.
Use --case-ok to allow files differing only in case.
msg17436 (view) Author: gh Date: 2014-05-09.20:30:21
Sorry, I just reproduced it and I got the same error as yours.
History
Date User Action Args
2014-04-22 11:56:27owstcreate
2014-04-22 12:05:17owstsetfiles: + patch-preview.txt, accept-issue2380_-darcs-wont-rename-a-file-to-the-name-of-a-deleted-file.dpatch, unnamed
messages: + msg17374
2014-04-22 17:58:15ghsetmessages: + msg17378
2014-04-22 21:55:36owstsetmessages: + msg17382
2014-05-09 20:30:22ghsetstatus: needs-screening -> accepted
messages: + msg17436