[sword-devel] preverse divs

Matthew Talbert ransom1982 at gmail.com
Wed Feb 29 11:07:17 MST 2012


On Wed, Feb 29, 2012 at 12:19 PM, Greg Hellings <greg.hellings at gmail.com> wrote:
>
> On Wed, Feb 29, 2012 at 11:00 AM, David Haslam <dfhmch at googlemail.com>
> wrote:

> This is the fault of yours truly. $Rev$ does exactly what you suggest
> in the next paragraph - tell the user which SVN revision of SWORD is
> being compiled. SVN automatically inserts r2679 (the version that you
> have there from Xiphos 3.1.5) when the files are updated or checked
> out. I, however, built the package by using git to checkout the SVN
> code. This is because Xiphos maintains a patch file which would be
> extremely tedious to update manually but maintaining a git branch with
> the patch included makes patch maintenance almost trivial.

I had the same problem when using bzr for the same purpose. Dima built
a bzr hook that would insert the correct SVN revision number. Perhaps
there are hooks for git that would accomplish the same thing.

I tried to find such a thing, but only found
http://ecmanaut.blogspot.com/2010/01/revision-keyword-expansion-with-git-svn.html
Dunno if that helps or not.

Matthew



More information about the sword-devel mailing list