return cmdutil.commit(ui, repo, shelvefunc, pats, opts)
def shelve(ui, repo, name=None, *pats, **opts):
- """saves a patch to the attic from the current changes
- and removes them from the working copy.
+ """move changes from working copy to the attic
Note that only those changes done in tracked files will be considered
- so you may wanto to hg add untracked files with desired changes.
+ so you may wanto to hg add untracked files with desired changes.
if not name and s.currentpatch == 'default':