darcs

Issue 608 can't darcs mv file over the place where another file once stood

Title can't darcs mv file over the place where another file once stood
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kirby, kowey, markstos, rgm, thorkilnaur, tommy, wglozer, zooko
Assigned To zooko
Topics Windows

Created on 2008-01-23.19:47:48 by zooko, last changed 2009-10-24.00:08:01 by admin.

Messages
msg2697 (view) Author: zooko Date: 2008-01-23.19:47:47
Try this with darcs-2:

rm afile
darcs record
darcs mv anotherfile afile

It will say that it can't proceed since afile already exists (at  
least on Windows), even though afile actually doesn't exist.
msg2705 (view) Author: markstos Date: 2008-01-24.01:52:16
Zooko,

I just added a new test to "mv.pl" and sent you the patch. See if it passes for
you with the darcs in question. If not, it's a Windows-specific issue. If so,
see if you can figure out the difference between your case and the test case. 

   Mark
msg3459 (view) Author: zooko Date: 2008-02-15.21:10:56
For some reason the subsequent discussion didn't get added to this ticket.  The
bug is Windows-specific.  I haven't tried to reproduce it recently, because I
don't like doing a job better suited for a robot (i.e. a buildbot).
msg3555 (view) Author: zooko Date: 2008-02-18.16:12:11
So, here's what I've decided:  I'm not going to do the job of a buildbot:
running the normal darcs unit tests on different platforms.  However, I will set
up and maintain a buildslave which will do that for me.  I can get my company to
let us use a Windows, a Cygwin, and a few different Linux systems, and I'll use
my own Solaris system.  Then darcs can have a set of automated buildslaves
similar to this set: http://allmydata.org/buildbot/waterfall?show_events=false

I will also help set up and configure the buildmaster.  The buildmaster issues
instructions to buildslaves, saying, basically "Do a darcs checkout of the
latest version, do a make, then do a make test, and report back the results.".

The buildmaster can be triggered to issue these commands any time a new patch is
pushed into the darcs repository, by editing the _darcs/prefs/defaults and
entering some sort of trigger script in there.
msg3556 (view) Author: zooko Date: 2008-02-18.16:13:57
Here's how to install buildbot:

http://buildbot.net/repos/release/README
msg3558 (view) Author: markstos Date: 2008-02-18.16:21:06
Zooko,

Buildbot is already installed on darcs.net (by me), but I was waiting to get a
little further before announcing it. However, I totally stalled on it, so if you
could pick it up, that would be great. (Assuming server access issues are worked
with David). I'll forward you my status e-mails directly.
msg4588 (view) Author: kowey Date: 2008-05-09.07:45:06
Zooko: looking at http://buildbot.darcs.net, I see that Mark's build test is
passing (although, we can't tell for Windows, due to issue840)

Could you see what is different about your case and the one in Mark's test?
msg7858 (view) Author: kirby Date: 2009-05-30.08:12:33
I cannot reproduce it on last released darcs on Windows (2.2.1).

echo > afile
echo > anotherfile
darcs init
darcs record -lam "test"
del afile
darcs record -lam "test"
darcs mv anotherfile afile
darcs record -lam "test"


I'll mark it dead; please reopen it with more information if you still think it 
still exists.
History
Date User Action Args
2008-01-23 19:47:48zookocreate
2008-01-23 21:47:18droundylinkissue609 superseder
2008-01-23 21:47:30droundysetpriority: bug
nosy: droundy, tommy, beschmi, kowey, zooko
2008-01-24 01:52:17markstossetstatus: unread -> waiting-for
nosy: + markstos
messages: + msg2705
assignedto: zooko
2008-02-15 21:10:57zookosetnosy: droundy, tommy, beschmi, kowey, markstos, zooko
messages: + msg3459
2008-02-15 22:10:30markstossettopic: + Windows
nosy: + wglozer, eivuokko, rgm, jaredj
2008-02-18 16:12:12zookosetnosy: droundy, tommy, beschmi, kowey, markstos, wglozer, zooko, eivuokko, rgm, jaredj
messages: + msg3555
2008-02-18 16:13:58zookosetnosy: droundy, tommy, beschmi, kowey, markstos, wglozer, zooko, eivuokko, rgm, jaredj
messages: + msg3556
2008-02-18 16:21:07markstossetstatus: waiting-for -> has-patch
nosy: droundy, tommy, beschmi, kowey, markstos, wglozer, zooko, eivuokko, rgm, jaredj
messages: + msg3558
2008-05-09 07:45:08koweysetstatus: has-patch -> waiting-for
nosy: + dagit
messages: + msg4588
2009-05-30 08:12:36kirbysetstatus: waiting-for -> given-up
nosy: + dmitry.kurochkin, kirby, simon, thorkilnaur
messages: + msg7858
2009-08-06 17:52:10adminsetnosy: + jast, Serware, darcs-devel, mornfall, - droundy, wglozer, eivuokko, rgm, jaredj, kirby
2009-08-06 20:55:05adminsetnosy: - beschmi
2009-08-10 22:11:39adminsetnosy: + wglozer, eivuokko, kirby, rgm, jaredj, - darcs-devel, jast, Serware, mornfall
2009-08-11 00:04:56adminsetnosy: - dagit
2009-08-25 17:45:26adminsetnosy: + darcs-devel, - simon
2009-08-27 14:20:29adminsetnosy: tommy, kowey, markstos, wglozer, darcs-devel, zooko, eivuokko, rgm, thorkilnaur, jaredj, dmitry.kurochkin, kirby
2009-10-23 22:42:09adminsetnosy: + robmoss, - rgm
2009-10-24 00:08:01adminsetnosy: + rgm, - robmoss