[sylpheed:30672] How about adding SVN revision to the X-Mailer string?

Ricardo Nabinger Sanchez rnsanchez at wait4.org
Thu Jan 4 01:21:05 JST 2007


Now that Sylpheed moved to SVN, wouldn't it be good to have the changeset
revision number included in the X-Mailer?

Basically:

	X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.4; i686-pc-linux-gnu; r1464)
	                                                        ^^^^^^^
orig:	X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.4; i686-pc-linux-gnu)

Or some better-looking form.  This could help tracking down points of
regression, since there's a lot of people using -devel builds from the SVN
repo.

Of course it would need some clever way to extract the latest revision
number, like:

	svn info | grep "Last Changed Rev" | awk '{print $4}'

I don't know SVN enough to tell if there is a keyword that would be forcibly
updated to reflect this latest revision number.

Comments?

-- 
Ricardo Nabinger Sanchez     <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."


More information about the Sylpheed mailing list