You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Chris Moore <do...@gmail.com> on 2007/03/23 01:12:48 UTC
PATCH: svn2cl lists too many filenames
I've been trying to use svn2cl to generate Changelogs, but it keeps
including the full path to files which are outside the directory of
interest.
I made an ugly patch which works around the problem by pre-processing
the XML data before the XSL runs. See here:
http://dooglus.rincevent.net/synfig/svn2cl.html
There's a 'TODO' in the .xsl script which suggests this has been
noticed before. Unfortunately I don't know enough about XSL to do the
patch properly.
Feedback please?
Thanks.
Chris.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: PATCH: svn2cl lists too many filenames
Posted by Arthur de Jong <ar...@ch.tudelft.nl>.
On Fri, 2007-03-23 at 02:12 +0100, Chris Moore wrote:
> I've been trying to use svn2cl to generate Changelogs, but it keeps
> including the full path to files which are outside the directory of
> interest.
>
> I made an ugly patch which works around the problem by pre-processing
> the XML data before the XSL runs. See here:
>
> http://dooglus.rincevent.net/synfig/svn2cl.html
Attached is a patch that fixes the issue. Paths outside of the directory
of interest are not mentioned in the ChangeLog if --strip-prefix is
specified (svn2cl.sh does this automatically).
The downside is that the files are also not mentioned if the directory
in which you ran svn2cl got renamed.
This patch and probably some others will be in the next release that
should be released soonish.
--
-- arthur - arthur@ch.tudelft.nl - http://ch.tudelft.nl/~arthur --