espen Posted August 14, 2012 Report Share Posted August 14, 2012 I am trying to export a repository from git, and importing it in plastic. I am following the examples from the page http://codicesoftwar...-to-github.html. "git fast-export" seems to succeed. However, when I try to fast-import the file into plastic I get an "Illegal characters in path" error. What am I doing wrong? Can anyone please help me to import my git repository to plastic? Z:\PlasticSCM>cm fast-import msrit@localhost:8087 MsrIT49_from_git_20120814.fe Error processing changeset mark 11179. Parent cset mark: -1. Parent cset: -1 Illegal characters in path. M 100644 :11153 TestPrograms/proturash/proturash.cbproj M 100644 :11154 TestPrograms/proturash/proturash.cpp M 100644 :11155 Tools/add_missing_dtors.py M 100644 :11156 Tools/cglsummary.py M 100644 :11157 Tools/exlude_list.txt M 100644 :11158 Tools/fake_demo_generator.pl M 100644 :11159 Tools/focasdummy.py M 100644 :11160 Tools/header_deps.py M 100644 :11161 Tools/inv.py M 100644 :11162 Tools/inv_test.py M 100644 :11163 Tools/linker_dependencies.py M 100644 :11164 Tools/list_missing_dtors.py M 100644 :11165 Tools/list_projects.py M 100644 :11166 Tools/log_stacktrace_expand.pl M 100644 :11167 Tools/memory_usage_to_csv.pl M 100644 :11168 Tools/parse_radius_gdp.pl M 100644 :11169 Tools/poivis.py M 100644 :11170 Tools/qlmdefparser.py M 100644 :11171 Tools/qlmdefparser_test.py M 100644 :11172 Tools/rename.py M 100644 :7557 Tools/sort_demos.py M 100644 :7558 Tools/split_log_file.py M 100644 :11173 Tools/start.pl M 100644 :11174 Tools/test.py M 100644 :7537 UserData/Desktops/Cu2Tool_2.xml M 100644 :7537 UserData/Desktops/Default.xml M 100644 :11175 UserData/Published/README.txt M 100644 :11176 merge3.bat M 100644 :11177 settimeserver.bat M 100644 :11178 viewmerge3.bat Error: Illegal characters in path. In advance, thanks! Best regards, Espen Stenberg Link to comment Share on other sites More sharing options...
manu Posted August 14, 2012 Report Share Posted August 14, 2012 Hello Espen, can you please tell us which PlasticSCM version are you using? Link to comment Share on other sites More sharing options...
espen Posted August 14, 2012 Author Report Share Posted August 14, 2012 I downloaded a new version today, because i saw build 333 had some fixes. Z:\PlasticSCM>cm version 4.1.10.333 Link to comment Share on other sites More sharing options...
espen Posted August 14, 2012 Author Report Share Posted August 14, 2012 And I am using git version 1.7.9 Z:\PlasticSCM>git version git version 1.7.9.msysgit.0 Link to comment Share on other sites More sharing options...
manu Posted August 14, 2012 Report Share Posted August 14, 2012 Can you please try a git fast-export but only with metadata? You need to include the following argument: --no-data Please attach to us the package, it doesn't contain any source code, only paths and SCM info. Link to comment Share on other sites More sharing options...
espen Posted August 14, 2012 Author Report Share Posted August 14, 2012 Ok. Where do I send it? Link to comment Share on other sites More sharing options...
manu Posted August 14, 2012 Report Share Posted August 14, 2012 You can reach me at mlucio at codicesoftware dot com Link to comment Share on other sites More sharing options...
espen Posted August 14, 2012 Author Report Share Posted August 14, 2012 Sent! Link to comment Share on other sites More sharing options...
manu Posted August 14, 2012 Report Share Posted August 14, 2012 Got it! I'm testing it, I found an issue with a file called "345letid.xls" it has a real strange path. Link to comment Share on other sites More sharing options...
manu Posted August 14, 2012 Report Share Posted August 14, 2012 Yeah, I have it: repo.fe correctly parsed. 2635 commits. 564598 ms /ContourPresenter4.9 /ContourPresenter-optimizations /Core4.9 /CU2Tool4.9 /CU2Track4.9 /Microscope4.9 commit refs/stash master master-4.8 9 branches 47391 modified files found refering to an SHA instead of a mark 47391 modified files 00,0 Mb in blobs. 1 blobs Check your email, I'll send you the fast.export file fixed. Link to comment Share on other sites More sharing options...
espen Posted August 15, 2012 Author Report Share Posted August 15, 2012 Thanks a lot! The problem is that 'git fast-export' has translated the Norwegian character 'å' into '\345'. This is handled as an illegal character by 'cm fast-import'. I can probably create a workaround by changing '\345' into 'a' or 'aa'. Is this an issue with git fast-export or with cm fast-import or both? cm fast-import should probably have printed the file name that caused the problem, instead of listing a lot of other files that seems to be OK. Thank you very much for your assistance, manu! Espen Link to comment Share on other sites More sharing options...
espen Posted August 15, 2012 Author Report Share Posted August 15, 2012 Unfortunately, I still get the same error when running 'cm fast-import'. Using both a fixed file with data, and using the file you sent me yesterday. Any ideas? Link to comment Share on other sites More sharing options...
espen Posted August 15, 2012 Author Report Share Posted August 15, 2012 Ah. I did not remove the " character around the affected file name. After removing all those, things seem to be better. fast-import is now checking in imported data... Link to comment Share on other sites More sharing options...
espen Posted August 15, 2012 Author Report Share Posted August 15, 2012 Import successful. To everyone else struggling with 'illegal characters in path': Beware of file names (and paths) with non-ASCII characters. Link to comment Share on other sites More sharing options...
manu Posted August 16, 2012 Report Share Posted August 16, 2012 yes, I use the one I sent you by email. Happy to hear it's working also for you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.