scm annotate fail
D:\>scm annotate --username xxxxx --password xxxxx "D:\...\Test.java"ps: I can use this command for other files.
執行 'annotate' 時,發生問題:
找不到 "D:\...\Test.java" 的遠端可版本化項目。 請嘗試 'scm help annotate',取得相關資訊。
Problem running 'annotate':
No remote versionable found for "D:\...\Test.java". Try 'scm help annotate' for more info
rmation.
One answer
Comments
It's not local file, I use Jazz RTC's client to sync the code to my local disk. And I can use this command for other project's file.
As far as the error message goes, it says the file could not be found in the remote repository workspace.
scm status shows following message (only 1 line):
Thanks, I don't use alias, just put the original name, is it ok ?
scm list components 2629 (I change "2629" to my workspace's name.)
-r repoUri : replace 'repoUri' text to the repository url you use to connect to your rtc server.
Because there are too many logs, I use ctrl-c and want to run it again.
Looks like the alias file got corrupted for some reason. Could go to the <users home directory>/.jazz-scm and delete the aliases file?
After clear the file, it works now. It shows lots of file list, is it correct ?
Yes, that is fine. What I wanted to check was does it show your Test.java file in the 'list remotefiles' command output? and do you have the same structure in your sandbox with all those files?
No, I cannot find Test.java in it. And I cannot find thisfile in sandbox (.jazz5/....)
Your sandbox is not .jazz5. The .jazz5 folder contains the metadata required by RTC and the parent of this folder is your sandbox.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 16 '14, 5:37 a.m.Hi, I tried to answer how to change languages somehow in https://jazz.net/forum/questions/13690/how-to-switch-localization-to-english-on-machines-with-different-regional-settings
This should switch the error messages to English, as far as I can tell.Basically in your situation, there is a file scm.ini in one of the folders where the scm commandline files are located. You can add this line at the end: