0
A
回答
2
要想從MKS項目資源庫,首先你應該創建一個沙箱的最後一個版本,然後你可以重新同步與服務器的沙箱。
要創建一個沙箱使用命令si createsandbox
SI createsandbox --project =%mks_Project%-R -Y%sandboxLocation% 此命令將創建項目的從法線的沙箱。如果你在devpath上工作,那麼你應該在命令中加上--devpath=%projectDevpath%
要重新同步一個沙盒,請使用命令si resync --sandbox=%sandboxName%
。例如si resync --sandbox="D:/sandbox/project1/project.pj"
請確保您替換%
這個合適的值。根據您的服務器配置,命令可能不同。
的sI createsanbox幫助
Usage: si createsandbox options... directory; options are:
--lineTerminator=[lf|crlf|native|cr] Line terminator to use in this sandbox
--[no]populate Populate sandbox with members
-R Recurse into subsandboxes creation
--[no|confirm]recurse Recurse into subsandboxes creation
--scope=attribute:name[=value]
memberrevlabellike:<expression>
anyrevlabellike:<expression>
name:<expression>
path:<expression>
type:text|binary
any
--[no]shared Allow sandbox to be shared
--[no]sparse Create sparse sandbox
--[no]openView Activate sandbox view after completing the command
--devpath=value The development path (to refer variant projects)
--[no]failOnAmbiguousProject Whether to abort when multiple projects correspond to a flat project string.
-P value The name of the target project
--project=value The name of the target project
--projectRevision=value The project revision (to refer build projects)
--[no]awaitServer If server does not respond, keep trying
-? Shows the usage for a command
--[no]batch Control batch mode (no user interaction in batch mode)
--cwd=value Act as if command executed in specified directory
-F value Read the selection from a specified file
--forceConfirm=[yes|no] Specify an answer to all confirmation questions
-g User interaction should happen via the GUI
--gui User interaction should happen via the GUI
--hostname=value Hostname of server
-N Responds to all confirmations with "no"
--no Responds to all confirmations with "no"
--password=value Credentials (e.g., password) to login with
--port=value TCP/IP port number of server
--quiet Control status display
--selectionFile=value Read the selection from a specified file
--settingsUI=[gui|default] Control UI for command options
--status=[none|gui|default] Control status display
--usage Shows the usage for a command
--user=value Username to login to server with
-Y Responds to all confirmations with "yes"
--yes Responds to all confirmations with "yes"
SI重新同步幫助
Usage: si resync options... current or former member/subproject...; options are:
--[no]byCP Operate in change package mode
--[no]confirm In change package mode, proceed without a question
--[no]confirmPopulateSparse Confirm populate of a sparse sandbox
--[no|confirm]downgradeOnLockConflict Whether to downgrade my existing exclusive lock to a non exclusive lock if an exclusive lock already exists on the member revision
--[no]includeDropped Include former members
--[no|confirm]merge Perform merges if required
--mergeType=[confirm|cancel|automatic|manual] Try to automatically perform the merge or launch the conflict resolution tool
--onMergeConflict=[confirm|cancel|mark|launchtool|highlight|error] What to do when conflicts occurred during the merge
--[no|confirm]overwriteIfPending Force overwrite of working files which correspond to pending revisions or pending members.
--[no]populate Populate the sandbox with working files
--[no|un]expand Whether keywords should be expanded in working files
-f Force overwrite of changed working files
--[no|confirm]overwriteChanged Force overwrite of changed working files
--[no|confirm]overwriteDeferred Force overwrite of working files with deferred operations pending
--[no]overwriteUnchanged Force overwrite of unchanged working files
--[no|confirm]removeOutOfScope Force removal of out of scope working files
--[no]restoreTimestamp Set the timestamp on the working file to the revision's timestamp
--filter=attribute:name[=value]
changed[:working|:sync|:newer|:size|:missing|:newmem|:all]
file:<expression>
frozen
label[:name]
locked[:name]
locktype[:exclusive|:nonexclusive|:any]
state[:name]
format[:text|:binary]
workingbranch
anylabel[:name]
deferred[:add|:addfromarchive|:checkin|:drop|:import|:move|:rename|:updaterevision|:all]
unresolvedmerges
memberonbranch
pending[:add|:addfromarchive|:drop|:import|:movememberfrom|:movememberto|:renamefrom|:renameto|:update|:updaterevision|:all]
workinprogress
sparsecontents
rule[:defined|:invalid|:memberrevdiffers]
archiveshared
caseinsensitivefile:<expression>
outofscope
-R Select recursively
--[no|confirm]recurse Select recursively
--[no]failOnAmbiguousProject Whether to abort when multiple projects correspond to a flat project string.
-S value The name of the sandbox
--sandbox=value The name of the sandbox
--[no]awaitServer If server does not respond, keep trying
-? Shows the usage for a command
--[no]batch Control batch mode (no user interaction in batch mode)
--cwd=value Act as if command executed in specified directory
-F value Read the selection from a specified file
--forceConfirm=[yes|no] Specify an answer to all confirmation questions
-g User interaction should happen via the GUI
--gui User interaction should happen via the GUI
--hostname=value Hostname of server
-N Responds to all confirmations with "no"
--no Responds to all confirmations with "no"
--password=value Credentials (e.g., password) to login with
--port=value TCP/IP port number of server
--quiet Control status display
--selectionFile=value Read the selection from a specified file
--settingsUI=[gui|default] Control UI for command options
--status=[none|gui|default] Control status display
--usage Shows the usage for a command
--user=value Username to login to server with
-Y Responds to all confirmations with "yes"
--yes Responds to all confirmations with "yes"
0
最好的辦法應是退房的頭修訂,輸入/輸出鎖。
相關問題
- 1. 從wicket獲取完整的html代碼
- 2. 使用Phing從知識庫中獲取最新的Git標籤
- 3. 獲取最新源代碼
- 4. Hudson沒有從版本庫獲取最新代碼
- 5. 在未更改的文件中進行PTC完整性檢查
- 6. 哪個腳本是PTC完整性應用
- 7. 等同於svn的MKS/PTC完整性來源:忽略
- 8. 獲取完整號碼
- 9. dom問題:從html文檔中獲取完整的源代碼
- 10. 如何知道OpenShift 3獲取最新的源代碼?
- 11. 最佳數據庫完整性?
- 12. TFS獲取最新代碼 - GettingEventArgs屬性'Total'和'Current'不可見
- 13. 獲取水壺知識庫目錄
- 14. Magento從filter.phtml獲取屬性代碼
- 15. 爲什麼我沒有從Forked倉庫獲取我最新的代碼更改?
- 16. 持久性和知識庫
- 17. 知識庫和獲取聚合實體/值對象的新值
- 18. 通過命令行從TFS獲取最新源代碼
- 19. 從FTP站點獲取最新文件的批量/宏代碼
- 20. NGINX知識庫中需要的碼頭圖像文件的完整路徑
- 21. Sql獲取SQL Server中特定數據庫的最新完整備份文件
- 22. 如何從C#代碼獲取SQL Server數據庫屬性?
- 23. PHP獲取完整圖像屬性
- 24. 獲取從代碼
- 25. 獲取從代碼
- 26. Doctrine2 basic;代理,知識庫
- 27. 完整的實體框架知識庫接口
- 28. 檢查javascript的完整性,用戶代碼=服務器代碼
- 29. 如何通過Directoryinfo獲取最新文件的完整路徑
- 30. 在ActiveRecord中獲取最後的不完整記錄或新的
你想要命令行選項還是從Gui – prudviraj 2015-05-27 19:40:46