[darcs-devel] [issue2139] darcs mv broken when target is a directory

Eric Kow bugs at darcs.net
Mon Feb 6 11:52:06 UTC 2012


New submission from Eric Kow <kowey at darcs.net>:

Uh-oh.  I think I've some dogfood stuck in my throat.  Luckily it's not 
a "deep" problem, UI-level with easy workaround, but probably important 
to fix for the release :-(

These commands did funny things because in all cases the target was a 
directory:

# . is the project root
darcs mv src/genibatch .

darcs failed:  The filename  is not valid under Windows.

# . is some subdirectory
darcs mv ../etc/macstuff .

darcs failed:  A file or dir named geni-wx (or perhaps differing only in 
case)
already exists in working directory.
Use --case-ok to allow files differing only in case.

mkdir src
darcs add src
darcs mv NLP src/
# sorry I lost the error message here

Things I don't know: is this in the beta? Maybe I just have an old 
version of darcs? (2.7.3, sorry!).  To reproduce.

----------
messages: 15093
milestone: 2.8.0 HEAD
nosy: kowey
priority: bug
status: need-reproduction
title: darcs mv broken when target is a directory
topic: Regression, UI

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2139>
__________________________________


More information about the darcs-devel mailing list