maven-changelog-plugin icon indicating copy to clipboard operation
maven-changelog-plugin copied to clipboard

[MCHANGELOG-80] support selecting of changes by revision-range for subversion

Open jira-importer opened this issue 17 years ago • 3 comments

Simon Kitching opened MCHANGELOG-80 and commented

Currently, only selecting by-date is supported for Subversion. However subversion has a problem with date-selection in some cases.

In particular, when CVS projects are imported into subversion, and the original commit date info is preserved during import, then all subversion select-by-date operations are broken for the repository. This is a known issue with subversion, and not likely to be fixed in the near future. The basic issue is that subversion maps a date to a revision-number by doing a binary-search across all its revisions, and assumes that the commit-date for revision N is before the commit-date for revision N+M. This is not true when external repos (CVS or other) are imported into subversion with original commit dates preserved.

One example of a repository where this is a problem is svn.apache.org; all select-by-date is completely broken for the apache repo; always has been and will be until (if) a subversion release is made that has an additional "committed on" attribute for each commit, and changes made to svn to use an index on this property rather than its existing binary-search.

It would therefore be very nice to be able to specify a subversion revision range, eg "from r100000 to HEAD" as the input to the report.


Attachments:

1 votes, 2 watchers

jira-importer avatar Feb 16 '08 15:02 jira-importer

Thomas commented

added type="revision", fixed ChangeLogHandler, added to txt bundle, updated site (apt) files, only allowed for SVN b/c only tested with SVN + mvn 2.0.9. sup/BlueFish/

jira-importer avatar Oct 11 '08 01:10 jira-importer

Thomas commented

It would probably be better to change the patch from <revisions/> to a more generic <versions/>, which means all the documentation will also need to be re-changed. The Maven ScmProvider seems to work fine with SVN revision numbers fed into it as new ScmVersion()s.

jira-importer avatar Oct 11 '08 03:10 jira-importer

Elliotte Rusty Harold commented

does this also apply to git?

jira-importer avatar Dec 22 '19 11:12 jira-importer