Skip to content

Add commands for migration from SVN to Git on Windows Systems #1310

@spotlesscoder

Description

@spotlesscoder

Which version of the book is affected?
v2: https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git

Describe the bug:
As a Windows user, I cannot use the suggested command to create the authors mapping list for migrating from SVN to Git.

Steps to reproduce:
https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git says I could use svn log --xml --quiet | grep author | sort -u | \ perl -pe 's/.*>(.*?)<.*/$1 = /' to create a list of authors to pass into Git for subsequent migration from SVN.
As I don't have access to a Linux PC, I can't use that command on my machine.

Expected behavior:
There should be an alternative command for the major platforms Windows, Linux (already there) and MacOS (probably the same or very similar to the Linux command) using as many default Windows tools as possible while using as few third party programs as possible.

Desktop:

  • Operating system: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions