CLI 参考 > 配置管理命令 > si updaterevision
  
si updaterevision
updates a project member revision to a specific revision
Synopsis
si updaterevision [--cpid|--changepackageId=ID] [--[no|confirm]closeCP] [--[no]defer] [--issueId=value] [(-r rev|--revision=rev)] [(-R|--[no|confirm]recurse)] [--[no]failOnAmbiguousProject] [--filter=filteroptions] [(-P project|--project=project)] [(-S sandbox|--sandbox=sandbox)] [--devpath=path] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] [--[no]save] member...
Description
si updaterevision updates a member revision to a specific pre-existing revision. This is useful when you want the member revisions in a project to reflect revisions based on a symbolic location in the development path (working file, head revision, trunk tip, member branch tip), property (state, label, timestamp), current project configuration, or external project configuration.
* 
You cannot update a frozen member’s revision. You must first thaw the member (si thaw) and then update it.
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--[no]save
Used to save any revision specified by -r (see options). Although existing saved revisions can be referenced using the :rule symbolic revision, this option has been deprecated in favor of the member rule. PTC recommends using the member rule instead of the --[no]save option. For more information about the member rule, see si setmemberrule).
--[no|confirm]closeCP
closes the change package after command completion.
--[no]defer
controls whether to delay the operation in the project until the deferred operation is submitted. The operation in the Sandbox still takes place immediately.
member...
identifies a specific member; use spaces to specify more than one member.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si ci, si co, si edit, si resync, si revert, si updatearchive, si setmemberrule
Miscellaneous: ACL, diagnostics, options, preferences