tag:blogger.com,1999:blog-6637736252081011583.post5211053603011222869..comments2023-10-23T11:13:47.199-07:00Comments on Daily Vim: Text Editor Tips, Tricks, Tutorials, and HOWTOs: Restore a Deleted SVN DirectoryTravis Whittonhttp://www.blogger.com/profile/14592647486468034166noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6637736252081011583.post-73386236782909175252008-10-20T07:03:00.000-07:002008-10-20T07:03:00.000-07:00About finding the previous rev, I have found that ...About finding the previous rev, I have found that you can always specify REV-1, even if it was not modified. svn will merge to the state as of REV-1, even if it was not modified in the rev.<BR/><BR/>Thus, diff -r9812:9813 shows the changes made in 9813.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-8223596587767585132008-04-10T10:44:00.000-07:002008-04-10T10:44:00.000-07:00Good tip... appreciated!Good tip... appreciated!Travis Whittonhttps://www.blogger.com/profile/14592647486468034166noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-61039092714813935002008-04-10T08:24:00.000-07:002008-04-10T08:24:00.000-07:00svn merge -c -[revisionNumber]works in recent vers...svn merge -c -[revisionNumber]<BR/><BR/>works in recent versions of svn, as a shorter alternative to<BR/><BR/>svn merge -r [newRev]:[oldRev]<BR/><BR/>I find the '-c' version is easier to script. With the -r, you need to look through 'svn log' or somesuch to find the revision number just before the one you want to back out.Steve Lanielhttps://www.blogger.com/profile/15382641193477770243noreply@blogger.com