[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: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2006-02-24 13:41:58 CET

On 2006-02-23 22:06:17 -0500, Andy Levy wrote:
> 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.

Yes, this is what I meant. In such a way one won't see rev 16 in the
log of the file in HEAD and it will be invisible to "svn blame", if
this is what one wants...

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

Why better?

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 24 13:43:27 2006

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.