[Box Backup-dev] Win32 client
Chris Wilson
boxbackup-dev@fluffy.co.uk
Mon, 3 Jul 2006 23:03:49 +0100 (BST)
Hi Ben,
On Thu, 29 Jun 2006, Ben Summers wrote:
> On 29 Jun 2006, at 01:13, Chris Wilson wrote:
>> Visual Studio doesn't know how to get the version out of Subversion or
>> read the VERSION.TXT file, so the version is hard-coded to
>> "0.09hWin32" in lib/win32/emu.h.
>
> http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4
>
> But only for one special Win32 only file, please.
Are you sure that this will work? My reading of that section is that the
$Revision$ keyword would be the "best" one to use in config.h.win32,
together with some run-time mangling of the substituted value to return a
plain revision number. But it says:
Revision
This keyword describes the last known revision in which this file
changed in the repository, and looks something like $Revision: 144 $.
That means that it will only be changed when config.h.win32 changes, i.e.
it's not the checked-out revision number, and ignores changes to the rest
of the code.
Am I missing something?
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |