fredag 28 april 2023 kl. 09:29:35 UTC+2 skrev [email protected]:

Hi all, 

the "revert to this revision" option does some wonderful magic for us.
I would like to automate it in a batch, but I cannot figure out what it 
really does - "svn revert" does not take a revision parameter.


There is a bit of confusion in the terminology. The svn command "revert" 
will undo local changes in your working copy, restoring a file as it was in 
the repository. The "revert to this revision" is actually a reverse merge, 
you should be able to do something along the lines of:

svn merge -r HEAD:29544 .

See the SVN book: 
https://svnbook.red-bean.com/en/1.7/svn-book.html#svn.branchmerge.basicmerging.undo

Kind regards,
Daniel Sahlberg 

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/cba5f576-c26a-46cc-bcd9-eebe1a1f425an%40googlegroups.com.

Reply via email to