Tomas Hajny wrote:

Is there a rough way of querying svn to determine what revisions were
committed on a particular date?

SVN logs (e.g. http://svn.freepascal.org/svn/logs/fpc-trunk.log if talking
about trunk)? As far as I understand SVN help correctly, querying the
revision for a specific date should be possible using 'svn -r {date} log',
but I haven't used it myself since I find working with the log files kept
in our SVN tree much more convenient.

# fpc -iDW
2012/10/17 2.7.1
# svn -r '{2012-10-17}' log http://svn.freepascal.org/svn/fpc/trunk
------------------------------------------------------------------------
r22678 | pierre | 2012-10-16 22:45:41 +0000 (Tue, 16 Oct 2012) | 1 line
..

I'll get back onto this later, I've got some Debian bugs to report :-/

But at the same time I note Pierre's

> ppcmips -iDW
> 2012/11/21 2.7.1-r1:23032

Is there some reliable way of getting the SVN revision into the FPC version number or build date, or even into a macro or symbol so that a program can log what revision it was compiled by?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to