Skip to content

Commit

Permalink
Merge pull request nirvdrum#152 from stefansundin/master
Browse files Browse the repository at this point in the history
Fix bug in getting authors from svn repo
  • Loading branch information
nirvdrum committed Jan 13, 2014
2 parents 75833e9 + b7a0025 commit 11b124b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ repository which name on its own line. This would allow you to easily
redirect the output of this command sequence to `~/.svn2git/authors` and have
a very good starting point for your mapping.

$ svn log --quiet | grep -E "r[0-9]+ \| .+ \|" | awk '{print $3}' | sort | uniq
$ svn log --quiet | grep -E "r[0-9]+ \| .+ \|" | cut -d'|' -f2 | sed 's/^ //' | sort | uniq

Or, for a remote URL:

$ svn log --quiet http://path/to/root/of/project | grep -E "r[0-9]+ \| .+ \|" | awk '{print $3}' | sort | uniq
$ svn log --quiet http://path/to/root/of/project | grep -E "r[0-9]+ \| .+ \|" | cut -d'|' -f2 | sed 's/^ //' | sort | uniq

Debugging
---------
Expand Down

0 comments on commit 11b124b

Please sign in to comment.