CVS changelog always shows edited files as added

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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)

            Assignee:
            Unassigned
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: