svn-all-fast-export / svn2git

:octopus: A fast-import based converter for an svn repo to git repos
GNU General Public License v3.0
261 stars 100 forks source link

how to use foreign language in rule file? #114

Closed supernaughty closed 4 years ago

supernaughty commented 4 years ago

hello. my svn repository has foreign language (Korean) folders. like this... SVN ----- 테스트용 폴더 1 ----- ----- branches ----- ----- tags ----- ----- trunk ----- 테스트용 폴더 2 ----- ----- branches ----- ----- tags ----- ----- trunk ----- 테스트용 폴더 3 ----- ----- branches ----- ----- tags ----- ----- trunk

I made my folders into git repositories with english names, and it created. but, actually, it didn't matched the files. It was an empty repository.

I made rule file like this

create repository test_folder_1 end repository

match /테스트용 폴더 1/$ action recurse end match

match /테스트용 폴더 1/trunk/$ action recurse end match

match /테스트용 폴더/trunk/ repository test_folder_1 branch master end match

....

english folders works well, but projects which has foreign characters didn't match What should I do?....

supernaughty commented 4 years ago

Thanks for regular expressions, I matched with foreign words. When I typed directly foreign language, it made problems.