Mercurial > p > roundup > code
diff scripts/imapServer.py @ 6799:1188bb423f92
Script dumps dbm files without marshalled data like _ids
Allow the _ids database to be dumped. The _ids db (when using the
anydbm backend) records the number last used for each object
type. E.G. if there were 8 statuses defined, it would have the entry:
status: 8
Allow other dbm databases (like the node or journal dbs) to be dumped.
Used argparse for command line options and added support for:
dump all keys in sorted order
dump specific key(s)
pretty print output
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 24 Jul 2022 01:31:45 -0400 |
| parents | 4cf48ff01e04 |
| children | b5fffd2a64af |
