Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367662

Summary: Remote sync cannot handle spaces in directory
Product: [Tools] PTP Reporter: Orion Poplawski <orion>
Component: RDT.syncAssignee: John Eblen <jeblen>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jeblen
Version: 5.0.4   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Orion Poplawski CLA 2011-12-30 12:24:42 EST
Build Identifier: Version: 3.7.1 Build id: R3_7_1

Have project named 'OpenMP Tests'.  Setup remote sync with fairly default path of:

/home/orion/git/OpenMPTests/OpenMP Tests

When it tries to sync I get:

Synchronization error for project OpenMP Tests:

remote git init failed with message: /bin/sh: line 0: cd: /home/orion/git/OpenMPTests/OpenMP: No such file or directory


remote git init failed with message: /bin/sh: line 0: cd: /home/orion/git/OpenMPTests/OpenMP: No such file or directory

It appears that it is dropping the space from the filename.

Reproducible: Always

Steps to Reproduce:
1. Setup remote sync project with space in remote location path
2. sync
Comment 1 John Eblen CLA 2011-12-30 13:38:16 EST
Confirmed. Actually the handling of file names with spaces and odd characters was
fixed earlier (bug #354893). This seems to be a problem only with the remote location path.
Comment 2 John Eblen CLA 2012-01-27 09:50:37 EST
Fixed in master and ptp_5_0 by applying escaping code from Bug 354893 to directories.