For a deleted file what's the command to use to view the content of a old revision
E:\Downloads\eeli\eel\eel>svn cat eel-scalable-font.h -r 2 svn: warning: 'eel-scalable-font.h' is not under version control
If you have not committed a delete operation to the repository, then use TortoiseSVN -> Revert to retrieve the file. If you have already committed the deletion: Use the log dialogue box to find out the revision of your file. Open the repository browser and switch to that revision.
SVN Checkout First then, In a directory create a new folder where you'll check the repository contents out to. It's important that we don't drill down into this folder. We want to check the contents of our repository out into this folder. So we right-click on this folder and select 'SVN Checkout…'
To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.
svn delete (del, remove, rm) — Delete an item from a working copy or the repository.
You need to use a repository URL (not working copy), and use the @rev syntax. Something like:
svn cat https://myhost/svn/eeli/eel/eel/eel-scalable-font.h@2
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