[llvm-commits] OT: How do I revert a single revision locally
Stefanus Du Toit
stefanus.dutoit at rapidmind.com
Thu Jul 2 10:29:18 PDT 2009
On 2-Jul-09, at 1:17 PM, Owen Anderson wrote:
> On Jul 2, 2009, at 10:15 AM, Dale Johannesen wrote:
>> One way:
>> svn diff -r<badrev-1>:<badrev> > patchfile
>> patch -p0 -R < patchfile
>
> Even simpler:
>
> svn diff -r<badrev>:<badrev-1> | patch -p0
Even simpler:
svn merge -c badrev .
--
Stefanus Du Toit <stefanus.dutoit at rapidmind.com>
RapidMind Inc.
phone: +1 519 885 5455 x116 -- fax: +1 519 885 1463
More information about the llvm-commits
mailing list