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

Re: Files on trunk overwritten...

From: C M <cmanalyst66_at_gmail.com>
Date: Fri, 26 Apr 2013 18:18:22 -0500

Deleting the trunk is not an option.

To do the reverse merge, I created a working copy (which includes the files
which are incorrect and I want to revert via the merge).
Within my working copy, I typed:

svn merge -c -177 https://trunk/path_to_directory

177 being the revision I want to roll back to but nothing happens.

svn status shows nothing. What am I missing?

On Fri, Apr 26, 2013 at 12:33 AM, Lorenz <lorenznl_at_yahoo.com> wrote:

> C M wrote:
> >Some files were committed to trunk which have incorrect updates.
> >
> >What's the easiest way to roll back to the previous versions (before the
> >erroneous changes were committed)?
> another way is to delete the trunk and reestablish it by copying the
> last correct trunk revision.
> This way a log of trunk head won't show the intermediate (between the
> revision of the copy source ad the copy itself) commits to trunk.
> Only the copy of the earlier revision will show up.
> ---x--- .... ---y z--- ...
> \ /
> -------------
> If there was only one objectionable commit I would go with the reverse
> merge though.
> --
> Lorenz
Received on 2013-04-27 01:18:55 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.