Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-18099] Fix global revprop exclusion option
  • Loading branch information
daniel-beck committed Apr 26, 2014
1 parent a923c50 commit bfa293d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/java/hudson/scm/SubversionSCM.java
Expand Up @@ -648,6 +648,12 @@ public String getExcludedRevprop() {
return excludedRevprop;
}

private String getExcludedRevpropNormalized() {
String s = fixEmptyAndTrim(getExcludedRevprop());
if (s!=null) return s;
return getDescriptor().getGlobalExcludedRevprop();
}

@Exported
public String getExcludedCommitMessages() {
return excludedCommitMessages;
Expand Down Expand Up @@ -1454,7 +1460,7 @@ else if (project.getLastBuild()!=null) {

public SVNLogFilter createSVNLogFilter() {
return new DefaultSVNLogFilter(getExcludedRegionsPatterns(), getIncludedRegionsPatterns(),
getExcludedUsersNormalized(), getExcludedRevprop(), getExcludedCommitMessagesPatterns(), isIgnoreDirPropChanges());
getExcludedUsersNormalized(), getExcludedRevpropNormalized(), getExcludedCommitMessagesPatterns(), isIgnoreDirPropChanges());
}

/**
Expand Down

0 comments on commit bfa293d

Please sign in to comment.