[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Determining locally modified files

From: Thamm, Russell <russell.thamm_at_dsto.defence.gov.au>
Date: 2004-02-03 06:31:35 CET


I have a program that I use for packaging applications (binaries) and checking them
into a repository (not subversion). I want to record the revision of my source files that correspond
to the binaries in the package. I do use Subversion for my source files.

My program needs to ensure that the source files in the Local Working Copy are not locally modified
and are all at the same revision. If this is so, that revision will be recorded in the package, otherwise
the operation will fail.

I am not using the subversion libraries in my program.

My basic question is:

What is the recommended way to determine if a source file is locally modified? There seems to be several
ways to do this (eg checksum, modification date, file compare etc).

Russell Thamm

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 3 06:40:19 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.