[Qgis-developer] Re: qgssvnversion.h and compile problem

Martin Dobias wonder.sk at gmail.com
Thu Feb 8 05:12:55 EST 2007


On 2/8/07, Tim Sutton <tim at linfiniti.com> wrote:
> Hi
>
>
> 2007/2/8, Gavin Macaulay <gavin at macaulay.co.nz>:
> > Hi,
> >
> > I don't think that Tim's suggestion for replacing qgssvnversion.h would
> > work. Having some special text in a file that svn automatically replaces
> > with the version number (aka $Id:$ with cvs) will result in something that
> > only gets updated when that file is changed. For example, if a commit is
> > made to a separate file, svn won't update the file that contains the
> > special text.
> >
>
> Urg! You are completely correct. I just tested to verify in a small
> project Jason and I are working on and it behaves as you stated. Sorry
> to be a spreader of FUD then! :-(

Then I think we could use SVN hooks that would ensure that on every
commit qgssvnversion.h would get updated with the current revision.

Or on the other side - is knowing SVN revision important? I think
users usually know which SVN revision they use in case they're
building from SVN...

bye,
Martin



More information about the Qgis-developer mailing list