[Box Backup-dev] Win32 client

Ben Summers boxbackup-dev at fluffy.co.uk
Tue Jul 4 09:47:02 BST 2006


On 3 Jul 2006, at 23:03, Chris Wilson wrote:

> 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?

No, I wasn't reading things properly.

You really can't run a script as part of your build process to fish  
out the revision number?

Ben








More information about the Boxbackup-dev mailing list