InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Svn tutorials

  • Diff last committed change
  • Edit log message for a committed revision
  • Make file executable on Linux
  • Recover svn lost password on Linux
  • Short diff without context
  • Svn log of all files in a directory
  • Svn log of entire repository
  • Undo last commit
  • View older version of a file
 
  • Home
  • > Tutorials
  • > Svn

Svn – how to view older version of a file

on Feb 28, 2016

Sometime we need to view an older version of a file in SVN. Here are two approaches which can be used.

Using svn cat

To view an older version of a file using the following command

$ svn cat -r5099 filename

If the file is a binary file, you may want to redirect outcome to some file.

Using svn update

Svn update can be used to update the file to a specific revision.

$ svn update -r5099 filename

Note once you have viewed the file, you can update to file to latest revision using

$ svn update filename

Suggested posts:

  1. How to debug :hover in Chrome
  2. Gmail – how to find large size emails
  3. AngularJS format date using date filter
  4. How to change default system voice for text-to-speech on Mac
  5. PHP – How to log custom data in apache access log
  6. Make an element draggable using Vanilla Javascript
  7. Mac brew – how to find latest available package without installing
  8. jQuery jsonp and cross domain ajax
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Svn, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress