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 <loren...@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
>
>

Reply via email to