@Issue("JENKINS-18099")
@Test
public void globalExclusionRevprop() throws Exception {
SubversionSCM scm = new SubversionSCM(
Arrays.asList(new SubversionSCM.ModuleLocation("file://some/repo", ".")),
new UpdateUpdater(), null, null, null, null, null, null, false);
scm.getDescriptor().setGlobalExcludedRevprop("ignoreme");
SVNProperties p = new SVNProperties();
p.put("ignoreme", "*");
Map<String, SVNLogEntryPath> paths = new HashMap<>();
paths.put("/foo", new SVNLogEntryPath("/foo", SVNLogEntryPath.TYPE_MODIFIED, null, -1));
SVNLogEntry e = new SVNLogEntry(paths, 1234L, p, false);
SVNLogFilter filter = scm.createSVNLogFilter();
assertFalse(filter.isIncluded(e));
}