I want to revert a bad commit from command-line svn. The usual advice is to reverse merge the commit into your working copy and then commit the changes. In my case, the bad commit was a mis-typed svn import
which trashed a portion of my repository I don't have checked out anywhere else. I could check out the affected directories and then follow the usual advice, but it would be more elegant if I could reverse-merge entirely using URLs, without a working copy. Is this possible?
No, you can't simply merge via the URL because that would mean merging without even seeing the resulting merge -- a very bad practice.
There is a situation where this wouldn't be bad:
However, imagine this:
I understand that there is now a big mess to clean up, but the reason you have that mess is because someone committed changes via the svn import command without first having to verify them before committing them. It's the reason I discourage use of the svn merge command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With