[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Revert, but give it a different name?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 15 Aug 2018 08:02:56 +0000

Nathan Hartman wrote on Tue, 14 Aug 2018 12:36 -0400:
> Suppose I modified filename.c. Can I revert, but instead of throwing away
> my changes, revert to a separate file like filename.c.old and keep my
> modified filename.c for comparison in my favorite tool?

svn cat filename.c_at_BASE > filename.c.old

but a better way to achieve what you're trying to do is to use a custom diff-cmd.
Received on 2018-08-15 10:03:16 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.