state: merge state and link state

Fixes #1091

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-09-15 04:54:26 +03:00
parent 912f0f72e5
commit b4e62772b8
2 changed files with 0 additions and 4 deletions
-1
View File
@@ -106,7 +106,6 @@ class Project(object):
def _ignore(self):
flist = [self.state.state_file,
self.link_state.state_file,
self.lock.lock_file,
self.config.config_local_file,
self.updater.updater_file]
-3
View File
@@ -14,7 +14,6 @@ class StateDuplicateError(DvcException):
class State(object):
STATE_FILE = 'state'
STATE_LOCK_FILE = 'state.lock'
STATE_TABLE = 'state'
STATE_TABLE_LAYOUT = "inode TEXT PRIMARY KEY, " \
"mtime TEXT NOT NULL, " \
@@ -166,8 +165,6 @@ class State(object):
class LinkState(State):
STATE_FILE = 'link.state'
STATE_LOCK_FILE = STATE_FILE + '.lock'
STATE_TABLE = 'link'
STATE_TABLE_LAYOUT = "path TEXT PRIMARY KEY, " \
"inode TEXT NOT NULL, " \