-
Bug
-
Resolution: Postponed
-
Minor
-
None
-
Platform: All, OS: All
All modified files (trunk or branch) in a CVS changes list are shown as added,
even when they really were modified. And as far as I can tell, files added on
branches are shown as edits. Files added in trunk appear correctly as adds.
Deletions in trunk also seem to be shown as adds.
The problem seems to be in the change log generator, not Hudson's parser, since
changelog.xml really shows things like:
<entry>
<date>...</date>
<time>...</time>
<author><![CDATA[...]]></author>
<file>
<name>.../X.java</name>
<revision>1.1.2.9</revision>
</file>
<msg><![CDATA[...an edit; similar for a trunk commit...]]></msg>
</entry>
(note no <prevrevision>1.1.2.8</prevrevision>) or
<entry>
<date>...</date>
<time>...</time>
<author><![CDATA[...]]></author>
<file>
<name>.../X.java</name>
<revision>1.1.2.1</revision>
</file>
<msg><![CDATA[...an add...]]></msg>
</entry>
<entry>
<date>...same...</date>
<time>...same...</time>
<author><![CDATA[...same...]]></author>
<file>
<name>.../X.java</name>
<revision>1.1</revision>
<prevrevision>1.1.2.1</prevrevision>
</file>
<msg><![CDATA[branches: 1.1.2;
file X.java was initially added on branch xxx.]]></msg>
</entry>
(note synthetic add message, and <revision> vs. <prevrevision> backwards)
<entry>
<date>...</date>
<time>...</time>
<author><![CDATA[...]]></author>
<file>
<name>.../X.java</name>
<revision>1.2</revision>
</file>
<msg><![CDATA[...useless now...]]></msg>
</entry>
(note no metadata indicating this was a deletion of file rev 1.1)
- depends on
-
JENKINS-49 self-contained cvs client libs
-
- Resolved
-
Yeah, my colleages have noticied this but I haven't really paid serious
attention to this.
I believe CVS does offer enough information. Sounds like I need to hack the Ant
cvs changelog parser once again.