SVN diff in two versions of the project

Possible duplicate:
Subversion: how to find differences between two tags?

I am working on a multi-module project. I need to get the difference between subversion (svn) tags (which are releases). To be more specific, I want to know which modules have been changed from one version to another. Could you advise this?

+4
source share
1 answer

I will use an example from a question related to @nvartolome (this answer), but with different values ​​of commands and even

  • If your modules are dirs , you only want to know which modules have changed , and agree to do the work manually with your eyes : will do 2 ls

Old tag

z:\>svn ls -v http://svn.twig-project.org/tags/RELEASE_0_9_7 331 fabien  12 2010 ./ 4 fabien 191  08 2009 AUTHORS 326 fabien 7950  12 2010 CHANGELOG 4 fabien 1522  08 2009 LICENSE 4 fabien 341  08 2009 README.markdown 278 fabien  11 2010 bin/ 326 fabien  12 2010 doc/ 328 fabien  12 2010 lib/ 23 fabien 1854  12 2009 package.xml.tpl 309 fabien 652  08 2010 phpunit.xml 325 fabien  12 2010 test/ 

New tag

 z:\>svn ls -v http://svn.twig-project.org/tags/RELEASE_0_9_8 343 fabien  29 2010 ./ 4 fabien 191  08 2009 AUTHORS 342 fabien 8566  29 2010 CHANGELOG 4 fabien 1522  08 2009 LICENSE 4 fabien 341  08 2009 README.markdown 278 fabien  11 2010 bin/ 341 fabien  28 2010 doc/ 342 fabien  29 2010 lib/ 23 fabien 1854  12 2009 package.xml.tpl 309 fabien 652  08 2010 phpunit.xml 341 fabien  28 2010 test/ 

The first column - the last revision of the commit - just find (diff or eyes) changed changes in directories

  • If you want to do this even at the file level in a more automatic way: z:\>svn diff --summarize http://svn.twig-project.org/tags/RELEASE_0_9_7 http://svn.twig-project.org/tags/RELEASE_0_9_8

The result will be similar to

 D http://svn.twig-project.org/tags/RELEASE_0_9_7/test/fixtures/expressions/binary.test ... A http://svn.twig-project.org/tags/RELEASE_0_9_7/test/Twig/Tests/TemplateTest.php M http://svn.twig-project.org/tags/RELEASE_0_9_7/test/Twig/Tests/Node/DebugTest.php 
+1
source

Source: https://habr.com/ru/post/1439792/


All Articles