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

Calculating result (merge) of multiple revisions

From: Daniel Becroft <Daniel.Becroft_at_supercorp.com.au>
Date: Tue, 15 Jan 2008 11:38:40 +1000

Hi all,
Is there an SVN command, script or utility around that will calculate the new result of multiple, not necessarily consecutive revisions?
That is, given a set of revisions {r10,r11,r14,r17,r19,r25}, calculate what files were modified OVERALL.
  User A adds a new file, Foo.java, in r10
    User A deletes the file, Foo.java in r17
    Result: Foo.java should not be reported in the list
    User A modifies an existing file, Foo.java, in r11
    User B modifies the file, Foo.java in r12 (not in our revision set)
    User A backs out their changes for Foo.java in r19
        Result: Foo.java should not be reported in the list
    User A modifies the file, Bar.java, in r11
    User B deletes the file, Bar.java in r15 (not in our revision set)
        Result: Bar.java should be reported in the list
The reason I am after this sort of thing, is that there are multiple revisions for a given piece of work that we may need to do (including reworks due to bugs, etc), but we would like to see an overall changelist of the files involved to achieve the work.
This seems like alot of work, so hence the reason I am asking if there is something already built into subversion, or if someone has already written something to do this.
Daniel B.
Received on 2008-01-15 02:41:26 CET

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.