Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions mergin/merginproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,3 +731,17 @@ def resolve_unfinished_pull(self, user_name):
shutil.rmtree(self.unfinished_pull_dir)
self.log.info("unfinished pull resolved successfuly!")
return conflicts

def set_tables_to_skip(self, tables):
"""
Set list of tables to exclude from geodiff operations. Once defined, these
tables will be excluded from the following operations: create changeset,
apply changeset, rebase, get database schema, dump database contents, copy
database between different drivers.

If empty list is passed, list will be reset.

:param tables: list of table names to ignore
:type tables: list[str]
"""
self.geodiff.set_tables_to_skip(tables)