Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn command line equivalent of 'git log -p'?

Is there an equivalent of git log -p using the svn command line tool? svn log -v shows file names but not changes.

I would like to see the patches introduced by prior commits. If not possible, is there a way to get the patch (not compared to head, just the changeset) introduced by a single previous commit?

like image 836
Andy Ray Avatar asked Sep 28 '11 19:09

Andy Ray


Video Answer


1 Answers

svn log --diff is the equivalent of git log -p.

For a single revision you can use svn diff -c <revision> which in git would be git show <revision>.

like image 50
JaviMerino Avatar answered Oct 04 '22 05:10

JaviMerino