Comment 4 for bug 300062

Parth Malwankar (parthm) wrote :

This is present on trunk (towards 2.2b4).

[aaa]% bzr ignore "RE:*.cpp"
bzr: ERROR: sre_constants.error: nothing to repeat

Traceback (most recent call last):
  File "/storage/parth/src/", line 911, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/storage/parth/src/", line 1109, in run_bzr
    ret = run(*run_argv)
  File "/storage/parth/src/", line 689, in run_argv_aliases
  File "/storage/parth/src/", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/storage/parth/src/", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/storage/parth/src/", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/storage/parth/src/", line 2723, in run
    if ignored.match(filename):
  File "/storage/parth/src/", line 213, in match
    match = regex.match(filename)
  File "/storage/parth/src/", line 69, in __getattr__
  File "/storage/parth/src/", line 55, in _compile_and_collapse
  File "/storage/parth/src/", line 61, in _real_re_compile
    return _real_re_compile(*args, **kwargs)
  File "/usr/lib/python2.6/", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.6/", line 245, in _compile
    raise error, v # invalid expression
error: nothing to repeat

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2010-05-30T03:11.crash
if a bug-reporting window does not automatically appear.