PARTIAL SHELVESET APPLY
Apply shelvesets in a partial replica with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Applies a stored shelveset.Usage
cm partial shelveset apply <sh_spec> [--encoding=<name>] [--comparisonmethod=(ignoreeol | ignorewhitespaces| ignoreeolandwhitespaces | recognizeall)]
Options
Option / Argument | Description |
|---|---|
| --encoding | Specifies the output encoding, i.e.: utf-8. See the MSDN documentation at http://msdn.microsoft.com/en-us/library/system.text.encoding.aspx to get the table of supported encodings and its format, (at the end of the page, in the "Name" column). |
| --comparisonmethod | Sets the comparison method. See Remarks for more info. |
| sh_spec | Shelveset specification. (Use 'cm help objectspec' to learn more about shelveset specs.) |
Help
The 'partial shelveset apply' command restores the contents of a stored shelveset.Remarks
Comparison methods
Option / Argument | Description |
|---|---|
| ignoreeol | Ignores end of line differences. |
| ignorewhitespaces | Ignores whitespace differences. |
| ignoreeolandwhitespaces | Ignores end of line and whitespace differences. |
| recognizeall | Detects end of line and whitespace differences. |
Examples
(Applies a stored shelve.)cm partial shelveset apply sh:3