On Thu, Oct 23, 2008 at 4:59 PM, Eric Kow <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 23, 2008 at 16:54:21 -0400, David Roundy wrote:
>> Although I think I'd be more comfortable using System.FilePath.Posix,
>> just so we maintain the same behavior.  Is there any reason to use
>> System.FilePath?
>
> Hmm... none that I can really think of, unless you would consider
> the ability to replace Workaround.getCurrentDirectory by just
> plain old System.Directory.getCurrentDirectory as a reason.  It may
> actually be worth auditing our uses of this function to see what
> else gets confused by the backslashes.  If there is little more, we
> may have another simplification on our hands.

The danger would be that we could accidentally end up creating a patch
with '\\' as a path separator.  All of darcs' code would have to be
audited to add a new barrier at which we remove '\\' from paths.  I
don't think this would be worthwhile.

David
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to