[darcs-devel] darcs patch: default_content is now more robust (and
3 more)
Jason Dagit
dagit at codersbase.com
Thu Aug 4 22:23:06 PDT 2005
These changes fix the problems with the test examples as well as add a few
more tests. I tried to add a test for:
'foo \\"bar\" \\baz' to foo \"bar" \baz
but I don't think perl and I were communicating correctly.
I took the liberty of making things like '"blah' parse the same as '"blah"'.
I'm really tempted to do this parsing with Parsec. But, I don't think we
will want to change it much from here. I could be wrong, in which case,
Parsec is a very attractive option, at least in my mind.
Also, I'm including a few patches that have already been on the list because
that was the only way I could select/send my new patches.
cheers,
Jason
Wed Aug 3 22:54:51 PDT 2005 Jason Dagit <dagit at codersbase.com>
* default_content is now more robust
now lines like the following
darcs record --posthook-command="cat foo.txt | mail -s \"hi\" foo at bar.baz"
will be handled the same way as if there were typed on the command line.
Specifically, the extra quotes are removed, the equal sign is removed
and the 'darcs' is removed.
Thu Aug 4 04:57:53 PDT 2005 David Roundy <droundy at abridgegame.org>
* add test for parsing of defaults file.
Thu Aug 4 22:04:26 PDT 2005 Jason Dagit <dagit at codersbase.com>
* improve robustness of default_content a bit more
Thu Aug 4 22:04:48 PDT 2005 Jason Dagit <dagit at codersbase.com>
* added a few more tests for reading defaults
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 15974 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20050804/bb23dd75/attachment.bin
More information about the darcs-devel
mailing list