[darcs-devel] [issue1453] case insensitivity and inconsistent state

Trent Buck bugs at darcs.net
Wed May 13 02:12:33 UTC 2009


Trent Buck <trentbuck at gmail.com> added the comment:

On Wed, Apr 29, 2009 at 09:54:08PM +0000, Simon Peyton-Jones wrote:
> a) Rather than saying "darcs failed: File './stackTransitions.pdf'
>    already exists!", could you not emit a message saying "Looks as
>    if your repo contains two files that differ only in the case of
>    their filename.  Use darcs get --hashed"

Hopefully this is no longer a big issue, as --hashed is on by default
post-Darcs 2.2 (see issue1435).  Thus it will only affect people who
explicitly darcs get --old-fashioned-inventory.

> [These suggestions apply even if --hashed is the default, in case
> you use --no-hashed.]

Granted.

> c) What *does* happen if you use --hashed and there are two files
> with the same name?

Tests welcome! :-)

----------
nosy: +twb

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


More information about the darcs-devel mailing list