[darcs-users] darcs patch: Resolve issue1351: fix repository path handling on Windows (and 1 more).

Salvatore Insalaco kirby81 at gmail.com
Sat May 9 19:19:48 UTC 2009


Windows path handling is still not optimal, but to fix it we should
probably make bold choices (like stopping to convert everyting to
"posix-like" format, as some kind of Windows path have no Posix
equivalent); this patch at least avoid an infinite loop inside darcs.

Sat May  9 20:36:06 CEST 2009  Salvatore Insalaco <kirby81 at gmail.com>
  * Resolve issue1351: fix repository path handling on Windows.

  ioAbsolute is supposing that takeDirectory will eventually lead to
an existing directory. This is true on Posix, where it will lead to
"/", but not on Windows, where it could lead to a non-existing unit or
an UNC reference to a non-existing server.
  This patch fixes this assumption, avoiding an infinite recursion.

Sat May  9 20:57:02 CEST 2009  Salvatore Insalaco <kirby81 at gmail.com>
  * Remove unused function: Darcs.Patch.Prim.applyBinary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolve-issue1351_-fix-repository-path-handling-on-windows_.dpatch
Type: application/octet-stream
Size: 63671 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090509/405a2c66/attachment-0001.obj>


More information about the darcs-users mailing list