mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
bug fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1597 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
e0634be24c
commit
0a0e7bfef1
1 file changed
+5
@@ -207,6 +207,11 @@ public class CVSSCM extends AbstractCVSFamilySCM implements Serializable {
|
||||
String m = tokens.nextToken();
|
||||
File mf = new File(ws, m);
|
||||
|
||||
if(!mf.exists())
|
||||
// directory doesn't exist. This happens if a directory that was checked out
|
||||
// didn't include any file.
|
||||
continue;
|
||||
|
||||
if(!mf.isDirectory()) {
|
||||
// this module is just a file, say "foo/bar.txt".
|
||||
// to record "foo/CVS/*", we need to start by archiving "foo".
|
||||
|
||||
Reference in new issue
Block a user