Re: [postgis-users] pgsql2shp revision

2010-09-13 Thread Mark Cave-Ayland

strk wrote:

Perhaps we could touch the pgsql2shp-core.h file but that just seems 
messy :(


Why drop the feature ?
If we want a true repository revision we should provide
that in an header file (which we'd touch) and use that when
we see fit. I wouldn't drop the file-specific one though,
you can always get a diff from current to the specific one
w/out querying the server (right? or time to move to git :).


Yeah; out of all the options I'd prefer to keep the standard 
svn:keywords tag and touch the file when appropriate (maybe as part of 
the release process?). It's not a great solution, but probably the least 
worse out of all the alternatives.



ATB,

Mark.

--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] pgsql2shp revision

2010-09-12 Thread strk
On Fri, Sep 10, 2010 at 02:31:52PM +0100, Mark Cave-Ayland wrote:

 This appears to be a feature of SVN in that the revision number 
 embedded in the file is the last revision that altered that particular 
 file, and not the latest revision of the whole repository. Since we 
 store the revision information in a separate file (because it is re-used 
 in more than one place) then you don't see the true repository revision.
 
 Perhaps we could touch the pgsql2shp-core.h file but that just seems 
 messy :(

Why drop the feature ?
If we want a true repository revision we should provide
that in an header file (which we'd touch) and use that when
we see fit. I wouldn't drop the file-specific one though,
you can always get a diff from current to the specific one
w/out querying the server (right? or time to move to git :).

--strk; 

  ()   Free GIS  Flash consultant/developer
  /\   http://strk.keybit.net/services.html
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] pgsql2shp revision

2010-09-10 Thread Mark Cave-Ayland

Denis Rykov wrote:


Is the pgsl2shp show correct SVN version of revision?
After updated pgsql2shp from svn and start pgsql2shp without options I get:

RCSID: $Id: pgsql2shp-core.h 5870 2010-08-28 09:16:32Z mcayland $
RELEASE: 2.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1


But last SVN revision number is not 5870.


This appears to be a feature of SVN in that the revision number 
embedded in the file is the last revision that altered that particular 
file, and not the latest revision of the whole repository. Since we 
store the revision information in a separate file (because it is re-used 
in more than one place) then you don't see the true repository revision.


Perhaps we could touch the pgsql2shp-core.h file but that just seems 
messy :(



ATB,

Mark.

--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users