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

Re: Simple Question, go back revision

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-02-24 04:06:17 CET

On 2/23/06, Vincent Lefevre <vincent+svn@vinc17.org> wrote:
> On 2006-02-23 18:32:44 +0000, Phil Endecott wrote:
> > > Now the million dollar question. I hated what I did with revision 16
> > > and want to bring back revision 15 of just that file.
> >
> > svn merge -r 16:15 index.html
>
> Or something like "svn delete ..." and "svn cp -r15 ..." so that
> revision 16 of the file seems to have never existed?

Revision 16 will always exist in the repository (by design), and
deleting and then copying will (I think) lose the history chain from
revision 15 to 17.

IMHO, better to use the reverse merge than a delete/copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 24 04:07:10 2006

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