Skip to content

Commit

Permalink
[FIXED JENKINS-14141] (regression) allow flattening of workspace on s…
Browse files Browse the repository at this point in the history
…ingle module
  • Loading branch information
mc1arke committed Jul 9, 2012
1 parent 6d3577a commit 773d499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/scm/CVSSCM.java
Expand Up @@ -169,7 +169,7 @@ public CVSSCM(final List<CvsRepository> repositories, final boolean canUseUpdate
this.repositories = repositories.toArray(new CvsRepository[repositories.size()]);
this.canUseUpdate = canUseUpdate;
this.skipChangeLog = skipChangeLog;
flatten = !legacy && this.repositories.length == 1 && this.repositories[0].getRepositoryItems().length == 0 && this.repositories[0].getRepositoryItems()[0].getModules().length == 1 && "".equals(fixNull(this.repositories[0].getRepositoryItems()[0].getModules()[0].getLocalName()));
flatten = !legacy && this.repositories.length == 1 && this.repositories[0].getRepositoryItems().length == 1 && this.repositories[0].getRepositoryItems()[0].getModules().length == 1 && "".equals(fixNull(this.repositories[0].getRepositoryItems()[0].getModules()[0].getLocalName()));
repositoryBrowser = browser;
this.pruneEmptyDirectories = pruneEmptyDirectories;
this.disableCvsQuiet = disableCvsQuiet;
Expand Down

1 comment on commit 773d499

@buildhive
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jenkins » cvs-plugin #28 FAILURE
Looks like this commit caused a build failure
(what's this?)

Please sign in to comment.