Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC source control: How to ignore case sensitivity when using scm command

We have created a source server to get source files from RTC. This source server run over HTTP.


The following commands is run from a backend application for getting source files(Sample file and version used below) and writing it to HTTP response.
lscm get file  -r http://<repository-url> -u <username> -P <pwd>  -b <baseline> 
-c "ComponentName" -f "Folder/InternalFolder/File.cpp" -o c:\temp\rtc\file.txt

Note:
Assume component name is "ComponentName" and file name is "Folder/InternalFolder/File.cpp"

We are getting the filename from the debug information (PDB) file generated when building the binaries. 
Everything works fine till this. 

But here is the problem we are facing, filename case (Upper/lower) cannot be predicted when we extract it from PDB (using Microsoft WinDbg tool - srctool), think because in windows filename case doesn’t matter. But RTC requires the filename case to be same as in the repository so the following commands will not work,

lscm get file  -r http://<repository-url> -u <username> -P <pwd>  -b <baseline> 
-c "componentname" -f "folder/internalfolder/file.cpp" -o c:\temp\rtc\file.txt

See that component/filename is in different case.

Is there any lscm command line option that we can use to ignore the case while retrieving the filename/component name? We wouldn’t care much about component name case because we can somehow find out that (may be using a lookup table). 

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 13

Question asked: May 23 '17, 1:09 a.m.

Question was seen: 1,620 times

Last updated: May 23 '17, 7:29 a.m.

Confirmation Cancel Confirm