Skip to content

Update with rebase fails and copy fails as well #117

Closed
@wonder-sk

Description

@wonder-sk

Related to MerginMaps/qgis-plugin#327

On the client level we should:

  • if the rebase fails and copy of the database file fails too (common on Windows), we should keep an extra directory (e.g. "unfinished_pull" inside .mergin dir) with the files we need to copy but we were unable to do because the files were locked by OS
  • probably a new function in MerginClient should be added to apply changes from unfinished pull, and another one to check if there's unfinished pull (for use e.g. by plugin)
  • with unfinished pull, we should update handling of the existing functions:
    • pull project - probably should just try to finish previous pull before continuing (?)
    • push project - probably should fail with ClientError (?)

Small refactoring to be done first #116

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions