I have a SVN repository running on a server – to which I commit my changes.
After changes are commited, I do “svn update” on the server, in order to get my changes live.
However, sometimes I make a commit(+update) that shouldn’t be done – which means that I have live files running with errors in them.
So I want to make a “revert/undo” on my server, to go back to previous revision.
I tried:
svn update -r <current revision -1>
But that didn’t seem to do anything at all.
Here’s a link I got on IRC: http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo
I am not sure that’s what I’m looking for, since I haven’t made a merge nor a copy?
- jack
You should use:
Then review your changes and commit.
You can also use
--dry-runoption to see what merge command does without actually changing a working copy.