WebStorm 9.0.2 Web Help

Unshelving Changes

On this page:

Basics

Unshelving is moving postponed changes from a shelf to a pending changelist.

With WebStorm, you can unshelve both entire shelves and separate files.

Unshelved changes can be filtered out from the view or removed from the shelf. Once shelved, a change can be applied as many times as you need by unshelving and subsequently restoring it on the shelf.

You can also import patches created inside or outside WebStorm and apply them as shelved changes.

Unshelving changes from an entire shelf

To unshelve changes from an entire shelf

  1. In the Shelf tab of the Changes tool window, select the shelved changelist to unshelve.
  2. On the context menu of the selection, choose Unshelve Changes .
  3. In the Unshelve Changes to Changelist dialog box box that opens, specify the changelist you want to add the unshelved changes to. Select one of the existing changelists, or create a new one.
  4. ClickOK.
  5. If the conflicts occur between the patched version and the current version, resolve them as described in the sectionResolving Conflicts:

    ws_ps_unshelving_resolve.png
    large_ws_ps_unshelving_resolve

  6. Select the changes in both versions to be merged to the resulting file and click Apply.

Unshelving specific changes

To unshelve specific changes

  1. In the Shelf tab of the Changes tool window, select the files or a whole shelf to unshelve.
  2. On the context menu of the selection, choose Unshelve .
  3. In the Unshelve Changes dialog box box that opens, specify the changes to unshelve by selecting the check boxes next to the relevant items.
  4. Specify the changelist to add the unshelved changes to. Select one of the existing changelists, or create a new one.
  5. ClickOK.
  6. If the conflicts occur between the patched version and the current version, resolve them as described in the sectionResolving Conflicts:

    ws_ps_unshelving_resolve.png
    large_ws_ps_unshelving_resolve

  7. Select the changes in both versions to be merged to the resulting file and click Apply.

Applying external patches

To apply external patches

  • In the Shelf tab of the Changes tool window, choose Import Patches on the context menu. In the dialog box that opens, select the patch file to apply. The selected patch appears in the Shelf tab as a shelf. Select the newly added shelf with the patch and choose Unshelve Changes on the context menu of the selection.

See Also

Last modified: 11 December 2014
comments powered by Disqus