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

Feature Suggestion: Compare Revisions By Exporting to Local Folder

From: Paul Langille <paullan_at_rogers.com>
Date: Wed, 20 Jun 2012 06:01:43 -0700 (PDT)

This uses existing functionality, but with one UI extension - here are the manual steps:

1. Do a log of a change set
2. Select two revisions
3. Use 'Compare Revisions' to create change window
4. Select all files/folders
5. Export to folder, naming folder 'New' or the rev number of the newer branch
6. Click the 'Switches the comparision' button
7. Select all files/folders
8. Export to folder, naming folder 'Old' or the rev number of the older branch
9. Use external tool such as Beyond Compare to compare the two folders against each other

The proposed new steps to achieve the above:
1. Do a log of a change set
2. Select two revisions
3. Use 'Compare Revisions With Local Exports'

The rest of the steps 4-9 change to:
4. TortoiseSVN prompts for folder to export to - where it creates the two revision number paths with the results as if the steps 4-9 were done above

Additional enhancement: automatically run external folder-comparison tool with the two paths specified - such as Beyond Compare, or run an external script - maybe using a flyout menu to select the tool/batch file/script to run.

This allows for multiple user-stories:
1. Comparisons of large change sets that are very different
2. Allows for effective code reviews by using tools that allow for faster iteration through sets of files
3. Allows for easy generation of file-by-file adds, deletes and modifies using third-party tools

I once had to do a code review of over two thousand files (the project I work on has over 55000 C++ files before code-generation - which doubles that) - and the process I worked out above allowed for a faster workflow.

Of course, if the above is doable via a script, I would not mind getting pointed out how to script the TortoiseSVN UI to add the menu options...

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2972207

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-06-20 15:23:35 CEST

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

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