darcs

Issue 203 darcs mv --case-ok suggestion

Title darcs mv --case-ok suggestion
Priority feature Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dhess, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics ProbablyEasy

Created on 2006-07-03.20:51:12 by dhess, last changed 2009-08-27.13:48:05 by admin.

Files
File name Uploaded Type Edit Remove
unnamed dhess, 2006-10-02.17:55:24 text/html
unnamed dhess, 2006-10-02.20:07:33 text/html
Messages
msg738 (view) Author: dhess Date: 2006-07-03.20:51:10
This is subjective, but I believe that darcs mv should mention "-- 
case-ok" when the source and destination only differ in case rather  
than just error out saying the destination already exists. Folks that  
don't know about --case-ok may resort to remove and add instead which  
is not desirable.

Dave

------
David K. Hess
Verscend Technologies, Inc.
dhess@verscend.com
214-684-5448
msg852 (view) Author: kowey Date: 2006-08-04.12:04:04
Sounds about right.  Adding the new ProbablyEasy tag, which indicates that this
might be a good job for a beginner.
msg1041 (view) Author: kowey Date: 2006-10-02.04:50:11
Dino Morelli points out that this has already be resolved [patch 'Allow rename
to different case (RT #466, case-insensitive file systems)'].  The patch dates
back from 2006-01.

I had gotten confused and thought this was something that affected
case-sensitive file systems; something like
 darcs init
 touch a b
 darcs add a b
 darcs record
 darcs mv a B

But that complains correctly.

David, was your darcs version just rather old, or did I just confuse myself again?

Thanks, Dino
msg1044 (view) Author: dhess Date: 2006-10-02.17:55:25
This is the issue I was reporting:

>  darcs init
>  touch a
>  darcs add a
>  darcs record
>  darcs mv a A

under Mac OS X (case-insensitive file system). The error message that  
resulted didn't suggest using "--case-ok". Newbies that don't know  
about --case-ok (like me at the time) then resort to remove and add  
which isn't ideal.

If I remember correctly, the issue existed in every version of darcs  
that had been released up to the day I submitted it and I was only  
using the builds that were pointed to by the Wiki. I looked back and  
I submitted that suggestion on 06/16/2006.

I'm slapping myself for not including the version info. I'm guessing  
I didn't because it was all versions to date.

Dave

------
David K. Hess
Verscend Technologies, Inc.
dhess@verscend.com
214-684-5448

On Oct 1, 2006, at 11:50 PM, Eric Kow wrote:

>
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> Dino Morelli points out that this has already be resolved [patch  
> 'Allow rename
> to different case (RT #466, case-insensitive file systems)'].  The  
> patch dates
> back from 2006-01.
>
> I had gotten confused and thought this was something that affected
> case-sensitive file systems; something like
>  darcs init
>  touch a b
>  darcs add a b
>  darcs record
>  darcs mv a B
>
> But that complains correctly.
>
> David, was your darcs version just rather old, or did I just  
> confuse myself again?
>
> Thanks, Dino
>
> ----------
> status: chatting -> resolved
>
> ____________________________________
> Darcs issue tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue203>
> ____________________________________
Attachments
msg1048 (view) Author: kowey Date: 2006-10-02.19:35:50
On Mon, Oct 02, 2006 at 12:54:36 -0500, David K. Hess wrote:
> > darcs init
> > touch a
> > darcs add a
> > darcs record
> > darcs mv a A

This particular sequence works for me in darcs 1.0.8 on MacOS X

Furthermore:
touch b
darcs mv A B

Produces the --case-ok error message.

Could you please verify this with 1.0.8?  Many thanks,
msg1049 (view) Author: dhess Date: 2006-10-02.20:07:33
I concur.

Thanks!

Dave

------
David K. Hess
Verscend Technologies, Inc.
dhess@verscend.com
214-684-5448

On Oct 2, 2006, at 2:35 PM, Eric Kow wrote:

>
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> On Mon, Oct 02, 2006 at 12:54:36 -0500, David K. Hess wrote:
>>> darcs init
>>> touch a
>>> darcs add a
>>> darcs record
>>> darcs mv a A
>
> This particular sequence works for me in darcs 1.0.8 on MacOS X
>
> Furthermore:
> touch b
> darcs mv A B
>
> Produces the --case-ok error message.
>
> Could you please verify this with 1.0.8?  Many thanks,
>
> ____________________________________
> Darcs issue tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue203>
> ____________________________________
Attachments
History
Date User Action Args
2006-07-03 20:51:12dhesscreate
2006-07-03 21:04:31droundysetnosy: droundy, tommy, dhess
2006-07-03 21:04:46droundysetnosy: droundy, tommy, dhess
title: Bug report -> darcs mv --case-ok suggestion
2006-08-04 12:04:11koweysetstatus: unread -> unknown
topic: + ProbablyEasy
messages: + msg852
nosy: + kowey
2006-10-02 04:50:23koweysetstatus: unknown -> resolved
nosy: droundy, tommy, kowey, dhess
messages: + msg1041
2006-10-02 17:55:32dhesssetfiles: + unnamed
status: resolved -> unknown
messages: + msg1044
nosy: droundy, tommy, kowey, dhess
2006-10-02 19:35:54koweysetnosy: droundy, tommy, kowey, dhess
messages: + msg1048
2006-10-02 20:07:38dhesssetfiles: + unnamed
nosy: droundy, tommy, kowey, dhess
messages: + msg1049
2006-10-02 20:36:03koweysetstatus: unknown -> resolved
nosy: droundy, tommy, kowey, dhess
2009-08-06 17:32:11adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, beschmi, thorkilnaur, - droundy, dhess
2009-08-06 20:50:25adminsetnosy: - beschmi
2009-08-10 21:52:47adminsetnosy: + dhess, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:46:57adminsetnosy: + darcs-devel, - simon
2009-08-27 13:48:05adminsetnosy: tommy, kowey, darcs-devel, dhess, thorkilnaur, dmitry.kurochkin