Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367662 - Remote sync cannot handle spaces in directory
Summary: Remote sync cannot handle spaces in directory
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT.sync (show other bugs)
Version: 5.0.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Eblen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-30 12:24 EST by Orion Poplawski CLA
Modified: 2012-09-21 11:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.