views:

48

answers:

2

I like how you can see what went into a git with git show rev

I haven't found an equivalent in Subversion. It seems Subversion wants you to do a diff between two commits to get anything reasonable.

Am I mistaken, or is there an equivalent to git show in svn to just see what went into a commit?

+3  A: 

svn diff -c rev will show what changes happened in the specified revision.

jamessan
+2  A: 

I take it you want to see not the list of files in the commit, but the contents of a file itself as it was in the commit. You can do this with svn cat -r rev filename, where "rev" is the revision number and "filename" is the path or URL to the file. Check svn help cat for more info.

rmeador