SCM command line very slow
Hi
Using RTC 2.0 client on a fast Vista box with a fast network connection to my RTC server. I need to issue an "scm property set" command on each of about 65000 files in my workspace. Thankfully, I just need to do this once ! I've used scm login to save my credentials so no password prompting is occurring. Problem: Each scm command is taking around 10-15 seconds. A little math tells me that it is going to take a very long time to process all my files. Does scm have a way to accept subcommands from a file so that the Java/Eclipse/Login overhead is incurred once, rather than on each subcommand ? Any help appreciated Cheers Dave |
3 answers
Unfortunately, the slow execution of each scm command is the way it is in 2.0. Each execution has to do the same overhead so it will be slow. In 2.0.0.1, there is an experimental daemon that will handle scm commands. This will speed up execution after the initial daemon start.
I wish I could help with a better way of constructing a command line request for your current situation but I'm not too familiar with using it. |
I believe "property set" takes multiple files, and if your shell does file
globbing expansion for you then it might make things easier as those files will be changed in on 'run' of scm. On Tue, 15 Sep 2009 19:06:14 -0400, David Ward <davidward> wrote: Hi -- |
Yes the SCM property set command does accept multiple files.
But that doesn't help much in my scenario where, in general, each file has its its own unique mime and line-endings .... its the uniqueness of those setting that drives the need to script the process. On 9/16/2009 10:34 AM, Andrew Hoo wrote: I believe "property set" takes multiple files, and if your shell does |
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.