Experimental LocalStatus stored in SQLite database
Based on patches by Stewart Smith, updated by Rob Browning. plus: - Inherit LocalStatusSQLFolder from LocalStatusFolder This lets us remove all functions that are available via our ancestors classes and are not needed. - Don't fail if pysql import fails. Fail rather at runtime when needed. - When creating the db file, create a metadata table which contains the format version info, so we can upgrade nicely to other formats. - Create an upgrade_db() function which allows us to upgrade from any previous file format to the current one (including plain text) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:

committed by
Nicolas Sebrecht

parent
535f4592fc
commit
2fc12e875a
@ -21,7 +21,7 @@ import os.path
|
||||
import re
|
||||
import traceback
|
||||
|
||||
class BaseFolder:
|
||||
class BaseFolder(object):
|
||||
def __init__(self):
|
||||
self.ui = getglobalui()
|
||||
|
||||
|
Reference in New Issue
Block a user