subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Hartman <>
Subject Re: How to revert trunk to an earlier revision?
Date Thu, 22 Oct 2020 18:25:25 GMT
On Thu, Oct 22, 2020 at 10:25 AM Bo Berglund <> wrote:
> If I update my wc to that rev I get the state I want but now I cann
> not commit anymore...
> So how is this done? (I assume it is possible and if done via svn it
> should also be reversible).

It is reversible in the sense that no information is ever lost or
removed from the repository.

Suppose you're at revision 515 and to use Thorsten's example you want
to "go back" to revision 497, after running:

svn merge -r HEAD:497 .

(followed by commit)

revisions 498 through 515 are still in the repository and you can
always access them later.

See "Undoing Changes" in Chapter 4 of the Subversion Book:


View raw message