[MERGE] Command Not Found plugin db + functionality code
Martin Albisetti
argentina at gmail.com
Wed Mar 5 17:45:52 GMT 2008
On Tue, Mar 4, 2008 at 12:05 AM, James Westby <jw+debian at jameswestby.net> wrote:
> "Command not found" for the invalid one, and then whatever you have
> defined for the valid one.
>
> The regex support could allow you to check that things like the plugin
> name and URL were in the message, without rigidly defining the format,
> however it may be just as much work.
Took a simpler approach which is to look for the URL within the output.
I hope this addresses your concern, if not, I'll dive into more
complex solutions like adding a new command to the DB dynamically just
for the test, and comparing the exact string output.
Thanks!
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command_not_found_plugin.patch
Type: text/x-diff
Size: 12631 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080305/56bea9d9/attachment-0001.bin
More information about the bazaar
mailing list