mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
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:
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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user