Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

Re: [PATCH] git-svn.perl: Strip ChangeLog bits.

From: Eric Wong <hidden>
Date: 2016-06-15 22:45:06

Possibly related (same subject, not in this thread)

Jan Nieuwenhuizen [off-list ref] wrote:
On zo, 2008-08-03 at 19:09 -0700, Eric Wong wrote:
quoted
Jan Nieuwenhuizen [off-list ref] wrote:
quoted
I could imagine that leaving git-svn alone and adding a hook to git-log
would be more useful, though.
NACK on modifying git-svn to support more changelog formats.

A better idea would be to write a generic script that takes "git log",
"git svn log" or even plain "svn log" output and filters it
independently.
quoted
This filter should be reusable for both plain svn and git-svn:
quoted
    The possibilities are endless :)
Yes, but we'll most probably drop SVN rsn, possibly after a short period
of supporting both; and not stripping the cruft in the conversion means
we carry this with us until eternity.  Besides, who is going to
distribute the script, inform users about its availability?

What we have now suffices for our ooo-build conversion.  If you do not
find it useful, more power/less code to you.  Let others search the
archives and/or patch git-svn themselves, if indeed there are any.
In the one-shot case, a git filter-branch script would probably be ideal
and reusable for other projects.

Anyways, I strongly believe changelog modification/reformatting should
be done in a more generic way that can benefit users of other tools
(archimport/cvsimport etc...), too.

-- 
Eric Wong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help