On Mon, Nov 4, 2013 at 1:23 PM, Alexander Haley <ahaley_at_meditech.com> wrote:
> I wish the POST-UPDATE client hook received (as an argument) a file
> containing the explicit list of paths/files updated.
> For my build environment's needs I need a list of which files were updated
> when a client has updated the working copy. I currently achieve this by
> the following inefficient technique.
> First) ... now I have a before and after set and from these I subtract
> and decipher exactly which files where updated.
> Why not use the timestamps of the files? Unless you have SVN configured to
set the timestamps to the last modified time (as of the commit) the files
just updated will have the most recent timestamp.
FYI, my team uses GNU Make to perform the actual builds. Make automatically
detects changed source files by comparing the timestamps of the source
files to the timestamps of the built files. Make is not limited to building
executable files, it can be configured to build, for example, documentation
or even websites. Make can run any tool that can be run from a .BAT script.
If you really need a text file with a list of changed files, rules like the
following will do that:
sources := $(wildcard *.cpp)
changemarks := $(sources:.cpp=.changed)
rename changelist $@
echo $< >>changelist
Windows executables for GNU Make (and other GNU tools) are available at
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-11-04 20:46:48 CET