[darcs-devel] [issue2038] darcs get --tag should not match on a regexp

Eric Kow bugs at darcs.net
Fri Mar 28 06:00:43 UTC 2014


Eric Kow <kowey at darcs.net> added the comment:

Hmm, interesting.

--tag . is a very handy darcs idiom that outlive sad to lose

Having tag behave inconsistently in get v other commands would be a pain
Having matches behave inconsistently with each other would also be bad
(otoh you could argue tag is different)

Maybe Max's flag is way forward

Or maybe darcs would issue a BTW after the fact (there are also 56 matches,
including 1.2, 1.1.2; did you mean --tag '^1.2$'?

On Friday, 28 March 2014, Alejandro Gadea <bugs at darcs.net> wrote:

>
> Alejandro Gadea <alex.aegf at gmail.com <javascript:;>> added the comment:
>
> It may be that if I understand well, one solution can be generated the
> regexp of the string/tag, say r, with
> the prefix ^ and sufix $. Ie, right now the regexp is generated of this
> way `mkRegex r` and I propose
> generate of this way ` mkRegex $ "^" ++ r ++ "$" ` .
>
> But I don't full understand which may be the problem with backward
> compatible.
>
> __________________________________
> Darcs bug tracker <bugs at darcs.net <javascript:;>>
> <http://bugs.darcs.net/issue2038>
> __________________________________
> _______________________________________________
> darcs-devel mailing list
> darcs-devel at darcs.net <javascript:;>
> http://lists.osuosl.org/mailman/listinfo/darcs-devel
>


-- 
Eric Kow <http://erickow.com>

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2038>
__________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20140328/55e73ebd/attachment-0001.html>


More information about the darcs-devel mailing list