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

RE: Getting a list of changed files between tags

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-02-08 15:17:21 CET

-----Original Message-----
From: Wade Williams [mailto:wadesworld@mac.com]

However, it does not handle the case of file deletion (that I can
tell). Diff shows a deleted file as having been changed (all lines
deleted). Obviously, that would make an automated script that's trying
to pack up all changed files fail.
---------------------------------------------------------------------

You would probably have to use one of the standard shell script tricks, such
as:

        EXISTS=
        for FILE in $LIST
        do
            if [[ -f $FILE ]]
            then
                EXISTS="$EXISTS $FILE"
            fi
        done

(No doubt there's a better way.)

But the problem runs deeper than that -- how is it that you're recording the
fact that the file was deleted? An "overlay Zip file" can't delete a file
when it is unpacked.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 8 15:21:25 2005

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.