nirvdrum / svn2git

Ruby tool for importing existing svn projects into git.
MIT License
2.11k stars 443 forks source link

Branch tracking detection fails for different system language #259

Open behrisch opened 7 years ago

behrisch commented 7 years ago

svn2git parses the git error messages to detect whether branch tracking is enabled, see https://github.com/nirvdrum/svn2git/blob/master/lib/svn2git/migration.rb#L360. This fails if the messages are localized. A workaround is to use LANG=C before calling the script. This was already mentioned in #132

mazong1123 commented 7 years ago

I've logged this issue in my new implementation. Hopefully I can fix it other than depending on a workaround.

mazong1123 commented 7 years ago

OK I've resolved this issue within a new release in svn2git.net. In case anyone wants it, just download the latest release from https://github.com/mazong1123/svn2gitnet/releases