Based mainly on Mercurial (hg shelve) syntax, which seems the best fit for Subversion.

 

 

svn shelving

notes

store

store & revert

shelve NAME [PATH...]

 

don't revert

--keep-local

not generally offered by the role models

naming

(like changelist names)

 

log message

-m "message"

 

patch hunks

(no)

 

interactive

(no)

 

unversioned

(no)

 

retrieve

apply & remove

unshelve NAME

 

don't remove

--keep-shelved

v1 only; v2 always keeps the patch

show diff

(no)

 

other

list

shelve --list

unshelve --list

shelves

 

drop

shelve --delete NAME

 

access in other cmds

(no)

 

shelve

  • if no changes to shelve, do nothing

  • if NAME is already shelved, fail

  • save a patch

  • revert the shelved changes from the WC, unless [--keep-local]

unshelve

  • apply specified patch to WC

  • delete the shelved patch, unless [--keep-shelved]

  • No labels