comparison hgext/shelve.py @ 25852:870e361e049c

shelve: make maxbackup doc check-config friendly
author Matt Mackall <mpm@selenic.com>
date Sat, 18 Jul 2015 14:17:46 -0500
parents 0eb093e40813
children 6086ddc1fdc6
comparison
equal deleted inserted replaced
25851:bf3d10f0c34a 25852:870e361e049c
561 that causes a conflict. This reverts the unshelved changes, and 561 that causes a conflict. This reverts the unshelved changes, and
562 leaves the bundle in place.) 562 leaves the bundle in place.)
563 563
564 After a successful unshelve, the shelved changes are stored in a 564 After a successful unshelve, the shelved changes are stored in a
565 backup directory. Only the N most recent backups are kept. N 565 backup directory. Only the N most recent backups are kept. N
566 defaults to 10 but can be overridden using the shelve.maxbackups 566 defaults to 10 but can be overridden using the ``shelve.maxbackups``
567 configuration option. 567 configuration option.
568 568
569 .. container:: verbose 569 .. container:: verbose
570 570
571 Timestamp in seconds is used to decide order of backups. More 571 Timestamp in seconds is used to decide order of backups. More