-
Committer:
Daniel Dehennin
-
Date:
2015-12-04 13:41:36 UTC
-
Revision ID:
daniel.dehennin@ac-dijon.fr-20151204134136-i3cipsw1ji2en293
Check remote state before synchronising dist
Sometimes, the synchronisation of pool/ is long enough for remote mirror
to begin a new synchronisation before we start synchronising dists/.
We need to check if remote “project/trace/” has changed since we started
as the remote mirror could be faster than us.
* ubuarchive: Call “check_remote_state” before syncing pool and dist.
(check_remote_state): Check remote “Archive-Update-in-Progress” lock
and if remote “project/trace/” has changed.
(_clean_on_exit): function to clean everything at EXIT.