[darcs-devel] [patch839] move command-helping functions from Darc... (and 1 more)

Guillaume Hoffmann bugs at darcs.net
Wed May 30 20:33:26 UTC 2012


New submission from Guillaume Hoffmann <guillaumh at gmail.com>:

The first patch moves to complicated function from Darcs.Arguments
to Darcs.Commands. The idea is that non-trivial stuff should gets
progressively out of Darcs.Arguments, which is doing much more stuff
than its name suggests.

The second patch is a change similar to the one that Petr Rockai did
in his "adventure" branch. It introduces the Darcs.Patch module
that replaces both Darcs.RepoPath and Darcs.Patch.FileName. The change
looks spectacular because it touches a lot of files, but no function
is really changed so don't be afraid.

The existence of both modules RepoPath and FileName is just a
consequence of a codebase growing organically over time.
Centralizing them in a single module will help up (in the future)
using an external library for path handling (Petr's pathlib for instance).

2 patches for repository http://darcs.net:

Sat May 26 19:40:13 ART 2012  Guillaume Hoffmann <guillaumh at gmail.com>
  * move command-helping functions from Darcs.Arguments to Darcs.Commands

Sat May 26 21:41:57 ART 2012  Guillaume Hoffmann <guillaumh at gmail.com>
  * introduce Darcs.Path to centralize path handling
  
  Replaces Darcs.Patch.FileName and Darcs.RepoPath

----------
files: move-command_helping-functions-from-darcs_arguments-to-darcs_commands.dpatch, patch-preview.txt, unnamed
messages: 15743
nosy: gh
status: needs-screening
title: move command-helping functions from Darc... (and 1 more)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch839>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 84385 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120530/14f6ca4a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: move-command_helping-functions-from-darcs_arguments-to-darcs_commands.dpatch
Type: application/x-darcs-patch
Size: 88835 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120530/14f6ca4a/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120530/14f6ca4a/attachment-0001.obj>


More information about the darcs-devel mailing list