[merge][#251352] better messages for illegal 'log -m' arguments

Martin Pool mbp at canonical.com
Tue Mar 24 01:51:11 GMT 2009


Based on Anne Mohsen's patch in
<https://bugs.edge.launchpad.net/bzr/+bug/251352> this gives a nicer
message when the user gives an illegal regexp.  (Thanks, Anne.)  It
also separates out a function re_compile_checked that we should use
whenever compiling a user-supplied regexp because the python default
error is not very helpful.

I haven't added this into the ignore code (yet) because it's not
directly applicable and that code already makes some effort not to
compile them one by one for the sake of speed.

-- 
Martin <http://launchpad.net/~mbp/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090324-251352-re-compile.diff
Type: text/x-patch
Size: 10502 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090324/fef6d0ce/attachment-0001.bin 


More information about the bazaar mailing list