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

Re: Determining locally modified files

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2004-02-03 21:46:10 CET

Answer 1) Use svn export of a tag to do your build avoiding the need to check
for edits.

Answer 2) Use svn status to find any changes in the working copy vs. the BASE.

BArry

At 03-02-2004 05:31, Thamm, Russell wrote:
>Hi,
>
>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).
>
>thanks
>Russell Thamm
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 3 21:47:18 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.