Fix SVN migration scripts to work with Git 2.0+

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • 0

      After doing a "git svn fetch", and then running the following the command as per instructions, I get the error shown below.

      java -Dfile.encoding=utf-8 -jar ~/svn-migration-scripts.jar sync-rebase
      fatal: ambiguous argument 'remotes/trunk': unknown revision or path not in the working tree.
      Use '--' to separate paths from revisions, like this:
      'git <command> [<revision>...] -- [<file>...]'
      Error finding tracking ref for branch master
      

      -------

      We should fix the migration scripts we refer to on the instructions on the page below:

      There is also an issue created already on bitbucket and a PR with a suggested fix (but it looks like we may not want to go with that fix).

      Seen on Answers:

        1. Koala.jpg
          763 kB
          Maria Peralta

            Assignee:
            Unassigned
            Reporter:
            ThiagoBomfim (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: