[darcs-devel] darcs patch: Add more tests for pull/push current rep... (and 16 more)

Eric Kow eric.kow at loria.fr
Sun Oct 28 00:14:18 UTC 2007


This is the code which adds types to distinguish between different filepaths,
(for example, absolute vs relative).  I've freshened it up by resolving
conflicts with some of David's work and by fixing a couple of regressions.
Have also added in a new feature: recognising files with a colon in the name
(which breaks under current darcs).

I'm going to push this in next week, unless somebody complains.

Sat Aug 18 09:31:21 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Add more tests for pull/push current repository.

Sat Aug 18 09:45:11 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Add a Darcs.RepoPath module for more explicit typing of FilePath.

Sat Aug 18 09:50:57 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Explicitly mark relative/absolute paths in command line parsing.
  This is a 'shallow' change in that only the commands are affected, and not
  for instance the patch core, slurpies, etc.

Sun Aug 19 18:18:28 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Generalise repodir tests to filepath.

Sun Aug 19 20:08:50 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * [issue427] Add path fixing to darcs send.

Sun Aug 19 20:42:34 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Distinguish between subpaths and relative paths.
  A subpath may not begin with .. when normalised.

Sun Aug 19 20:56:33 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Better handling of absolute paths.

Sun Aug 19 21:33:30 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Add issue268 test.

Sun Aug 19 21:34:24 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * [issue268] Fix bug in make_dotdots.

Sun Aug 19 22:16:19 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * [issue354, issue358] Handle corner cases pulling from self.

Sun Aug 19 22:18:09 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Add tests for issue354 and issue358.

Sun Sep  2 15:08:14 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Fix conflicts between RepoPath, Format2 and tentativelyMerge.

Sat Oct 20 18:02:43 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Fix conflicts between RepoPath and FL for SelectPatches.

--------------
New stuff here
--------------

Sat Oct 27 11:52:58 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Fix bug in SubPath creation.
  Should strip off the slash separating the paths.

Sat Oct 27 15:47:31 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Fix some absolute path regressions.
  
  The RepoPath code 'normalised' away the initial slashes of paths, including
  that of Unix paths and of Windows UNC paths, and then made up for it
  by systematically prepended a '/' to the paths.  This is wrong for
  Windows paths because
     C:\foo        ==> /C:\foo      (prepending)
     //foo/bar/baz ==> /foo/bar/baz (normalisation and prepending)
  
  This patch explicitly recognises the initial slashes that absolute paths
  may have, and it no longer does any prepending.

Sun Oct 28 02:06:31 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Interpret paths inherently relative to a repository more strictly.
  
  Do not attempt to interpret paths as URL if they are used in commands
  where they can only be relative to a repository anyway.

Sun Oct 28 02:07:23 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Add test for filename with colon (suggested by VMiklos).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 177814 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20071028/6a267b8f/attachment-0001.bin 


More information about the darcs-devel mailing list