How to Determine Contained Revisions in an Subversion Dump File

The utility svnrdump allows you to dump and load Subversion repositories, including the whole revision history.

A typical use case for svnrdump looks like this:

To find out which revisions a particular dump file contains, grep comes in handy: The contained revision numbers are stored in plain text and in increasing order in the dump file.

returns all stored revisions. To find out the first or last contained revision, simply use head and tail:


Leave a Reply