Move dependency checking from redo-ifchange into deps.py.
In preparation for sharing between multiple commands.
This commit is contained in:
parent
f2d34fa685
commit
df85b3d163
4 changed files with 101 additions and 96 deletions
6
state.py
6
state.py
|
|
@ -1,7 +1,7 @@
|
|||
import sys, os, errno, glob, stat, fcntl, sqlite3
|
||||
import vars
|
||||
from helpers import unlink, close_on_exec, join
|
||||
from log import err, debug2, debug3
|
||||
from log import warn, err, debug2, debug3
|
||||
|
||||
SCHEMA_VER=1
|
||||
TIMEOUT=60
|
||||
|
|
@ -132,6 +132,10 @@ def relpath(t, base):
|
|||
return join('/', tparts)
|
||||
|
||||
|
||||
def warn_override(name):
|
||||
warn('%s - you modified it; skipping\n' % name)
|
||||
|
||||
|
||||
_file_cols = ['rowid', 'name', 'is_generated', 'is_override',
|
||||
'checked_runid', 'changed_runid', 'failed_runid',
|
||||
'stamp', 'csum']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue