How to revert a change in svn

Stefan Sperling stsp at
Sat Mar 1 16:09:09 CET 2008

On Sat, Mar 01, 2008 at 02:19:54PM +0000, Ewan Meadows wrote:
> It turns out the changes I made in r 2138 causes perl not to compile
> properly.  Does anyone know the command to revert this in svn?


	svn diff -r 2138:2137 user/perl/perl.c

should produce the diff you need to revert the change,
i.e. the reverse diff of the commit made in r2138.

Apply it with:

	svn merge -r 2138:2137 user/perl/perl.c


	svn diff user/perl/perl.c

to verify the diff again.

Compile. Test. Commit.

Hope this helps,
stefan                                         PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : 

More information about the dslinux-devel mailing list