[llvm-commits] OT: How do I revert a single revision locally

Dale Johannesen dalej at apple.com
Thu Jul 2 10:15:38 PDT 2009


On Jul 2, 2009, at 9:57 AMPDT, Aaron Gray wrote:

> Hi,
>
> I cannot seem to find it on the web and I have left my SVN book at  
> home.
>
> How do I revert a single revision locally ? Is this possible ?
>
> I tried svn revert and svn co but neither seemed to work properly.

One way:
svn diff -r<badrev-1>:<badrev>  > patchfile
patch -p0 -R < patchfile




More information about the llvm-commits mailing list