added parent pointer.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2646 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-03-25 17:32:14 +00:00
1 parent d9d2fffef3
commit 5cd27fb6d0
1 file changed
+6
@@ -171,6 +171,7 @@ public final class CVSChangeLogSet extends ChangeLogSet<CVSChangeLog> {
}
public void addFile( File f ) {
f.parent = this;
files.add(f);
}
@@ -184,6 +185,7 @@ public final class CVSChangeLogSet extends ChangeLogSet<CVSChangeLog> {
private String revision;
private String prevrevision;
private boolean dead;
private CVSChangeLog parent;
/**
* Gets the full file name in the CVS repository, like
@@ -241,6 +243,10 @@ public final class CVSChangeLogSet extends ChangeLogSet<CVSChangeLog> {
return EditType.ADD;
return EditType.EDIT;
}
public CVSChangeLog getParent() {
return parent;
}
}
/**