Keep track of empty directories in SVN space
The PathMap implementation recursively discards empty directories when removing files, to match what Git does. Yet SVN keeps track of empty directories. Introduce and use a derivative of PathMaps that do not automatically remove empty directories (they can still be explicitly removed as any other element).