[viewvc-users] ViewVC "Query revision history" does not seem to support glob pattern matching
Asd Asdasd <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have tried using the "Query revision history" form of viewvc.cgi and I get the following error when I initiate a search specifying a glob pattern for any of the "File", "Who" and "Comment" fields:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/viewvc/viewvc.py", line 4452, in main
request.run_viewvc()
File "/usr/lib/python2.7/site-packages/viewvc/viewvc.py", line 394, in run_viewvc
self.view_func(self)
File "/usr/lib/python2.7/site-packages/viewvc/viewvc.py", line 4157, in view_query
db.RunQuery(query)
File "/usr/lib/python2.7/site-packages/viewvc/cvsdb.py", line 463, in RunQuery
cursor.execute(sql)
File "/usr/lib/python2.7/site-packages/MySQLdb/cursors.py", line 174, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1139, "Got error 'repetition-operator operand invalid' from regexp")
I have tried using the standard "*" pattern matching specifier and even "%" as per SQL query sytax to no avail, for example, *.java for the "File" field with the "Glob pattern match" radio button selected.
Am I doing something wrong or is this a bug?
Thanks, Most
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2758213
To unsubscribe from this discussion, e-mail: [[email protected]].