annotate

逐行顯示檔案的修訂資訊。

用途

scm annotate 次指令會顯示共用檔案每一行的作者、變更集與工作項目資訊。

輸出會以直欄形式顯示:

用法概要

您只能在共用目錄中執行 scm annotate

選項和引數

-d  |  --directory ] workspace-path 
本端工作區的根路徑,由 scm load 或 scm share 所建立。選用。
-P  |  --password ] password for user ID in repository
指名儲存庫中指定使用者 ID 的密碼。 如果指令行不含這個選項,系統會提示您輸入密碼。 如果您指定了已利用 scm login 指令來儲存認證的儲存庫 URI 或暱稱,便會忽略這個選項。
-u  |  --username ] 儲存庫中的使用者 ID
指定存在於指名儲存庫中的使用者 ID。 如果您指定了已利用 scm login 指令來儲存認證的儲存庫 URI 或暱稱,便會忽略這個選項。
file
要標註之檔案的路徑。

範例

$ scm annotate messages.properties

1   Michael Valenta     2008-05-14 55732
###############################################################################
2   Michael Valenta     2008-05-14 55732
# Licensed Materials - Property of IBM
3   Michael Valenta     2008-05-14 55732                                  # (c)
Copyright IBM Corporation 2008. All Rights Reserved.
[...]
364 Heather Fraser-Dube 2008-04-01 48384             nls messages in new
LoadRule_1=Unable to locate folder "{0}" in component "{1}"
365 Heather Fraser-Dube 2008-04-01 48384             nls messages in new
LoadRule_2=Unexpected line "{0}" encountered in build load rules for component "{1}"
366 Heather Fraser-Dube 2008-04-01 48384             nls messages in new  
LoadRule_3=Unable to read the file containing the build load rules for component {0}
367 Heather Fraser-Dube 2008-04-07 40122,49599
LineDelimiterDialog_0=Convert


意見

以上說明對您有幫助嗎?您可以在 Jazz.net 網站中提供意見(需要登錄):在討論區中提供意見提交錯誤