Skip to content

Instantly share code, notes, and snippets.

@inz
Created April 19, 2011 12:56

Revisions

  1. inz revised this gist Aug 30, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.mkd
    Original file line number Diff line number Diff line change
    @@ -16,4 +16,4 @@ Usage

    In your SVN repository, run this:

    bash < <(curl -s https://gist.github.com/raw/927466/git-list-svn-authors)
    bash < <(curl -s https://raw.github.com/gist/927466/git-list-svn-authors)
  2. inz revised this gist Apr 19, 2011. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions README.mkd
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,8 @@ Note, however, that you SHOULD nevertheless provide the authors' full names and

    svn_username = Firstname Lastname <[email protected]>

    For a guide on how to actually migrate your SVN repository to Git, go to http://help.github.com/svn-importing/

    Usage
    ----

  3. inz revised this gist Apr 19, 2011. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion README.mkd
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,11 @@ Minor update, so the generated output would be legal for a `svn.authorsfile` rig

    Note, however, that you SHOULD nevertheless provide the authors' full names and email addresses for a clean migration, i.e.:

    svn_username = Firstname Lastname <[email protected]>
    svn_username = Firstname Lastname <[email protected]>

    Usage
    ----

    In your SVN repository, run this:

    bash < <(curl -s https://gist.github.com/raw/927466/git-list-svn-authors)
  4. inz revised this gist Apr 19, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.mkd
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,5 @@ Originally from "Creating a svn.authorsfile when migrating from subversion to gi
    Minor update, so the generated output would be legal for a `svn.authorsfile` right away.

    Note, however, that you SHOULD nevertheless provide the authors' full names and email addresses for a clean migration, i.e.:

    svn_username = Firstname Lastname <[email protected]>
  5. inz revised this gist Apr 19, 2011. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.mkd
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@ List svn authors for easier migration to Git

    Originally from "Creating a svn.authorsfile when migrating from subversion to git", http://technicalpickles.com/posts/creating-a-svn-authorsfile-when-migrating-from-subversion-to-git/

    Minor update, so the generated output would be legal for a svn.authorsfile right away. Note, however, that you SHOULD nevertheless provide the authors' full names and email addresses for a clean migration, i.e.:
    Minor update, so the generated output would be legal for a `svn.authorsfile` right away.

    Note, however, that you SHOULD nevertheless provide the authors' full names and email addresses for a clean migration, i.e.:
    svn_username = Firstname Lastname <[email protected]>
  6. inz revised this gist Apr 19, 2011. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.mkd
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,6 @@ List svn authors for easier migration to Git

    Originally from "Creating a svn.authorsfile when migrating from subversion to git", http://technicalpickles.com/posts/creating-a-svn-authorsfile-when-migrating-from-subversion-to-git/

    Minor update, so the generated output would be legal for a svn.authorsfile right away. Note, however, that you SHOULD nevertheless provide the authors' full names and email addresses for a clean migration.
    Minor update, so the generated output would be legal for a svn.authorsfile right away. Note, however, that you SHOULD nevertheless provide the authors' full names and email addresses for a clean migration, i.e.:

    svn_username = Firstname Lastname <[email protected]>
  7. inz revised this gist Apr 19, 2011. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions README.mkd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    List svn authors for easier migration to Git
    ====

    Originally from "Creating a svn.authorsfile when migrating from subversion to git", http://technicalpickles.com/posts/creating-a-svn-authorsfile-when-migrating-from-subversion-to-git/

    Minor update, so the generated output would be legal for a svn.authorsfile right away. Note, however, that you SHOULD nevertheless provide the authors' full names and email addresses for a clean migration.
  8. inz created this gist Apr 19, 2011.
    6 changes: 6 additions & 0 deletions git-list-svn-authors
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/usr/bin/env bash

    authors=$(svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
    for author in ${authors}; do
    echo "${author} = ${author} <${author}>";
    done