Just a Theory

By David E. Wheeler

List All Subversion Committers

In preparation for migrating a large Subversion repository to GitHub, I needed to get a list of all of the Subversion committers throughout history, so that I could create a file mapping them to Git users. Here’s how I did it:

svn log --quiet http://svn.example.com/ \
| grep '^r' | awk '{print $3}' | sort | uniq > committers.txt

Now I just have edit committers.txt and I have my mapping file.

Looking for the comments? Try the old layout.

More about…