paths with semi colon or square brackets cause re error in glob_expand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
When using Tortoise Bazaar on Windows XP and adding a file not yet under version control:
bzr: ERROR: sre_constants.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Programme/
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "glob.pyo", line 15, in glob
File "glob.pyo", line 41, in iglob
File "glob.pyo", line 57, in glob1
File "fnmatch.pyo", line 48, in filter
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "re.pyo", line 188, in compile
File "re.pyo", line 241, in _compile
error: bad character range
bzr 1.16 on python 2.5.2 (win32)
arguments: ['C:\\Programme
encoding: 'cp1252', fsenc: 'mbcs', lang: 'DE'
plugins:
bzrtools C:\Programme\
launchpad C:\Programme\
netrc_
qbzr C:\Programme\
rebase C:\Programme\
svn C:\Programme\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
tags: | added: win32 |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
This looks like a bug in expand globs; that's only active on win32 but it can be tested elsewhere.