This is an archive of the discontinued Mercurial Phabricator instance.

shelve: let cmdutil.revert() take care of backing up untracked files
ClosedPublic

Authored by martinvonz on Mar 29 2019, 2:39 PM.

Details

Summary

cmdutil.revert() backs up untracked files, so I don't see a reason to
do it shelve.mergefiles(). We have tests for this and they still pass.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Mar 29 2019, 2:39 PM
This revision was automatically updated to reflect the committed changes.