SVN: is it possible to get svn info for a given revision number of a branch

sidharth sharma picture sidharth sharma · Jan 28, 2013 · Viewed 35.3k times · Source

Is it possible to get svn info for a branch for a specific revision number. For example if the latest working copy of a branch has revision number 56, can I get info for the same branch for revsion number 32.

Answer

arkascha picture arkascha · Jan 28, 2013

There are two options available to get informatioon about past revisions:

  • svn log -r <rev number> <url>: the commit message of a specified revision and url
  • svn info -r <rev number> <url>: some technical information about a specified revision and url

An example: svn log -r 5628 https://repo.exampl.org/prod/branches/info/conf/config

It is all described in the help messages built into the svn command: svn help or svn help info...