This is an archive of the discontinued Mercurial Phabricator instance.

tests: add test showing crash when shelving ghosted rename target
ClosedPublic

Authored by martinvonz on Jan 30 2020, 2:34 AM.

Details

Summary

When you hg rename a file and then delete the rename target, `hg
shelve` will give you a traceback.

Note that the shelve succeeds and the shelve is correct, it's just the
update to the parent that fails (i.e. to the parent of the commit that
was created for the shelve).

This can be squashed into the next commit if the reviewer prefers.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.