This is an archive of the discontinued Mercurial Phabricator instance.

shelve: make gennames() helper generate relative backup paths
ClosedPublic

Authored by martinvonz on Jan 8 2021, 3:36 PM.

Details

Summary

When I saw gennames(), I thought it was meant to take a relative
filename as argument. Maybe it was or maybe it wasn't, but it seems
simpler to pass it a relative path anyway, so that's what this patch
does. That also makes the call to backupvfs.exists() more natural (I
expect a relative path to be passed there too).

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.