~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Parth Malwankar
  • Date: 2010-06-30 12:03:30 UTC
  • mto: This revision was merged to the branch mainline in revision 5339.
  • Revision ID: parth.malwankar@gmail.com-20100630120330-uud7s38i8s08izh8
added InvalidPattern error.
This is raised by lazy_regex and Globster on bad regex.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    format_date,
87
87
    format_date_with_offset_in_original_timezone,
88
88
    get_terminal_encoding,
89
 
    re_compile_checked,
90
89
    terminal_width,
91
90
    )
92
91
from bzrlib.symbol_versioning import (
811
810
    """
812
811
    if search is None:
813
812
        return log_rev_iterator
814
 
    searchRE = re_compile_checked(search, re.IGNORECASE,
815
 
            'log message filter')
 
813
    searchRE = re.compile(search, re.IGNORECASE)
816
814
    return _filter_message_re(searchRE, log_rev_iterator)
817
815
 
818
816