git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1597 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-01-03 05:56:09 +00:00
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".