Reputation: 5099
I have code in subversion. Recently the way the code is structured was changed from this:
root/source-here
to:
root/folder 1/source-here root/folder 2/other stuff
I went ahead and made a diff using Tortoise SVN but I didn't get what I expected. Basically all files (modified and new) are shown as added and all folders of original structure as deleted.
I say not expected but I'm not implying that its an error. I was expecting to see modified and added files.
Any idea on how to do this from the repository itself?
I think I can checkout both revs and compare locally with something like WinMerge but there should be a better way. I don't think this is an unique scenario.
Thanks!
Upvotes: 3
Views: 2739
Reputation: 5392
Assuming rev 10 was when you did the move, you should be able to get the diffs like this:
svn diff http://server/svn/root/source-here@9 http://server/svn/root/folder1/source-here@10
Upvotes: 2
Reputation: 6872
Perhaps what you want is this?
svn diff {banch1}/root/source-here {branch2}/root/folder1/source-here
Upvotes: 0