Skip to content
Snippets Groups Projects
Commit b2a8ff736ecf authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

shelve: trust caller of shelvedfile.opener() to check that the file exists

The only place we call `shelvedfile.opener()` is when we're about to
apply a bundle. The file should always exist. If it doesn't, the
`.hg/` directory is corrupt and we don't provide any guarantees about
supporting corrupt repos (besides, telling the user that the shelve
doesn't exist when `hg shelve --list` lists it is not very helpful).

Differential Revision: https://phab.mercurial-scm.org/D9698
parent 161313f9c467
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment