Kinook Software Forums

Kinook Software Forums (
-   [VBP] Third Party Tools (
-   -   Unreliable file modification timestamps from source control (

dhollman 09-01-2016 07:53 AM

Unreliable file modification timestamps from source control
We do VB6 builds using VBP.

They are setup using a VBG file to organize all the projects with interdependencies, and we rely on VBP to work out what needs to be rebuilt.

The problem I'm having is that since we use Mercurial (Git would be the same I think) the file timestamps are not a reliable way to check what needs to be rebuilt. Mercurial sets them to the last "get latest" time, nothing to do with changes to the files.

Are there any strategies to deal with this in VBP? It is possible to script an update to all files which looks in the repository history for their last change and updates their timestamps, but this is very slow to run.


kinook 09-01-2016 08:15 AM

Many source control systems have an option to set the local file timestamp to the last modification or checkin time of the file into the repository when getting from the repository. Barring that, you may need to set them yourself or modify your build process to not rely on them (perhaps delete all output files before building).

kinook 09-05-2016 07:55 AM

This may be another possibility:

All times are GMT -5. The time now is 10:10 PM.

Copyright 1999-2021 Kinook Software, Inc.