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. Hudson没有从版本库获取最新代码
- 2. 获取完整号码
- 3. 在未更改的文件中进行PTC完整性检查
- 4. 哪个脚本是PTC完整性应用
- 5. 等同于svn的MKS/PTC完整性来源:忽略
- 6. dom问题:从html文档中获取完整的源代码
- 7. 最佳数据库完整性?
- 8. TFS获取最新代码 - GettingEventArgs属性'Total'和'Current'不可见
- 9. Magento从filter.phtml获取属性代码
- 10. 从代码获取Word设置属性
- 11. 为什么我没有从Forked仓库获取我最新的代码更改?
- 12. NGINX知识库中需要的码头图像文件的完整路径
- 13. 通过命令行从TFS获取最新源代码
- 14. Sql获取SQL Server中特定数据库的最新完整备份文件
- 15. 如何从C#代码获取SQL Server数据库属性?
- 16. 获取从代码
- 17. Doctrine2 basic;代理,知识库
- 18. 完整的实体框架知识库接口
- 19. 如何通过Directoryinfo获取最新文件的完整路径
- 20. SharePoint在代码背后的代码中获取当前页面的完整URL
- 21. Magento:获取属性代码
- 22. 获取完整路径的更新的属性
- 23. 我无法获取网页的完整HTML源代码
- 24. 获取代码隐藏以创建完整的JS部分
- 25. 如何获取元素的完整CSS代码
- 26. 从知识库中获取随机谓词。序言
- 27. 最完整的C++ facebook库
- 28. 将整个代码库从UTF-16重新编码为UTF-8
- 29. UrlFetchApp.fetch - 缺少网页代码。如何获得完整的代码?
- 30. 从数据库提取完整性破坏的数据
你想要命令行选项还是从Gui – prudviraj 2015-05-27 19:40:46