makepkg svn version discovery fails if the log message begins with r
someone on irc discovered today that the ffmpeg-svn package failed to
build with the odd error seen below...
I am using the following version of pacman in archlinux (non-testing):
Name : pacman
Version : 3.1.1-1
Architecture : i686
Build Date : Sun 20 Jan 2008 07:51:41 PM PST
while a full reproduction requires a controlled svn server, a test can
be done with this:
$ svn log -r 11825 --limit 1 svn://svn.mplayerhq.hu/ffmpeg/trunk | sed
-n 's/^r([^ ]*) .*$/1/p'
11825
emove
the following is a patch that forces sed to test only the second line of
the log. while this works, it will break if the log header is
reformatted in the future. But I couldn't find any documentation on how
to change the format, or any variations in the logs of the handful of
svn servers I've looked at. So it seems ok to do this.