[PATCH] shelve: always backup shelves instead of deleting them

Matt Mackall mpm at selenic.com
Mon Jun 29 17:41:25 CDT 2015


> What if we only kept the backup shelves around for a limited time?  Like,
> every time we do a shelve/unshelve we delete any shelve-backups older than
> a month.  That provides the recoverability behavior, without the permanent
> growth.

I think a last-N strategy is a better fit.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list