If I have a directory of files (with subdirectories) that is not 开发者_开发知识库under source control (no .svn directories), is there any way to compare it with a revision in svn (i.e. "svn diff")?
Similar question: if I have a directory of files that is under source control, can I do a diff to a different URL than the one it was checked out from?
The easiest thing to do is to export the revision in question to a directory next to your originals. Then use plain old diff -r
(the non-svn variety).
Another option is to svn add
your originals, then use the two-URL version of svn diff
. But that's probably overkill.
I'm a big fan of WinMerge for this sort of thing.
精彩评论