Just a toy a the moment, but the attached patch makes 
'tools/dev/merge-graph.py' output a sequence of 'svn' commands that executes 
the branching and merging shown in the graph (as well as writing an image file).

Example (where merge-sync-1-req.txt is one of the attachments to 
<http://wiki.apache.org/subversion/SymmetricMerge>):

$ merge-graph.py merge-sync-1-req.txt 
merge-graph.py: reading 'merge-sync-1-req.txt', writing 'merge-sync-1-req.png'
# start r1
svn mkdir O O/created_in_O
svn mkdir O/new_in_O0
svn commit -m r1
# start r2
svn copy -r1 O A
svn copy -r1 O B
...
# start r4
svn update 
svn merge ^/A@3 B
...

I hope this will help me show some more concrete examples of what I'm trying to 
show in the graphs.

- Julian

Attachment: merge-graph-as-svn-cmds-1.patch
Description: Binary data

Reply via email to