rev-snapshot¶
Reverse Snapshot provided files for placement in the working-tree.
usage: enc rev-snapshot [-h] [-v | -q] [-n] [-f TS_FILE | -t TIME]
Named Arguments¶
- -v, --verbose
- Specify verbosity level as -v, -vv or -vvv.
By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on the verbosity of logs use: -v to show INFO logs additionally. -vv to show INFO and DEBUG logs additionally. -vvv to show INFO, DEBUG and TRACE logs, this level also enables exception tracebacks.
- -q, --quiet
- Quiet logs as -q, -qq or -qqq.
By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on quietness of logs use: -q to Disable VCS (git) or OS call command logs and WARNINGS; ERROR and FATAL will still show. -qq to Additionally disable ERRORS; FATAL logs will still show. -qqq to Disable full logging.
- -n, --dry-run
Only show which files will be taken rev-snapshot of. Do not actually change files in the working-tree stage.
Default:
False
- -f, --ts-file
Only take rev-snapshot of files which are created/modified after the time specified in this file.
Default:
.enc/SNAPSHOT_TS
- -t, --time
Only take rev-snapshot of files which are created/modified after the this time.
Must be run from from the working-tree repo root.