cleanup views does not work when a design document has no views
---------------------------------------------------------------
Key: COUCHDB-1136
URL: https://issues.apache.org/jira/browse/COUCHDB-1136
Project: CouchDB
Issue Type: Bug
Components: Build System
Affects Versions: 1.0.2
Reporter: Randall Leeds
Priority: Minor
When a view has no design documents the cleanup code creates an empty regex
which matches everything, thus saving all the index files. In this case it
should delete everything instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira