Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View Content of Deleted File Svn

Tags:

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 
like image 701
R.D Avatar asked Nov 19 '08 03:11

R.D


People also ask

How do I recover a deleted file from svn?

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.

How do I view svn files?

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…'

How do I find my svn revision history?

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.

What is svn delete?

svn delete (del, remove, rm) — Delete an item from a working copy or the repository.


1 Answers

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 
like image 87
nobody Avatar answered Sep 30 '22 10:09

nobody