The problem is more related to bzrlib than to dput.
bzrlib.sftp put a file in a "file.tmp", it works on it, and when finished rename the tmp path to the "real_path".
The renaming does not trigger a IN_CLOSE_WRITE
The problem is more related to bzrlib than to dput.
bzrlib.sftp put a file in a "file.tmp", it works on it, and when finished rename the tmp path to the "real_path".
The renaming does not trigger a IN_CLOSE_WRITE