'exclude_patterns' don't deal with subfolders
My static data contains 'CVS' folder and also 'CVS' subfolders in another folders. To avoid it's coping I've include '**/CVS' pattern into 'exclude_patterns'. Result Ok: 'CVS' folder was not copied. BUG: 'CVS' subfolders were copied with another static data.
Note: it seems that problem in 'copy_static_entry' function (sphinx/util/init.py), because it copy all tree at the second recursive call (when level=1).