[fwd as Arthur isn't subscribed to the list]
Arthur de Jong wrote:
Subject: Re: [GRASS-dev] SVN changelog missing modified file names
From: Arthur de Jong <arthur ch.tudelft.nl>
To: GRASS developers list <grass-dev>
Date: Sun, 20 Apr 2008 10:06:35 +0200I'm the author of svn2cl.
On Sat, 2008-04-19 at 19:20 -0700, Hamish wrote:
> "svn log COPYING" seems to keep full history going back to the start
of
> GRASS 6 development in 2002, past both cvs2svn and release branching.
> svn2cl.sh just parses the XML output of "svn log". So I think it is
more
> a problem in the svn2cl script dealing with the branchpoint?What svn2cl does is parse the output of the svn log command. For
file/path names svn2cl tries to do something "smart". By default it
will
only show files that are under the current directory. If you moved the
containing directory the files of previous revisions aren't shown.There are a couple of ways to work around this:
svn2cl --strip-prefix=''
or run svn2cl multiple times:
( svn2cl --stdout -r HEAD:195 ; \
svn2cl --stdout -r 194:1 --strip-prefix='oldpathinrepo' ; \
) > ChangeLogI have something similar to the above for one of the projects I use it
for in the Makefile.What would be nice is to accept multiple --strip-prefix options but
that's kind of hard to do in XSLT (I'll accept patches though).--
-- arthur - arthur ch.tudelft.nl - http://ch.tudelft.nl/~arthur --
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ