[Pkg-owncloud-commits] [owncloud-client] 21/27: propagator_qnam: add debug output in cae the file changed localy

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Jul 29 16:23:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 208011f6ab891d5b774b5d203fdc9c6a25c5cdb8
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Thu Jul 24 11:17:59 2014 +0200

    propagator_qnam: add debug output in cae the file changed localy
    
    In order to debug https://github.com/owncloud/core/issues/9781
---
 src/mirall/propagator_qnam.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/propagator_qnam.cpp b/src/mirall/propagator_qnam.cpp
index e3a6a91..73e1fbf 100644
--- a/src/mirall/propagator_qnam.cpp
+++ b/src/mirall/propagator_qnam.cpp
@@ -303,7 +303,7 @@ void PropagateUploadFileQNAM::slotPutFinished()
         }
 
         if (Utility::qDateTimeToTime_t(fi.lastModified()) != _item._modtime) {
-            /* Uh oh:  The local file has changed during upload */
+            qDebug() << "The local file has changed during upload:" << _item._modtime << "!=" << Utility::qDateTimeToTime_t(fi.lastModified())  << fi.lastModified();
             _propagator->_activeJobs--;
             done(SyncFileItem::SoftError, tr("Local file changed during sync."));
             // FIXME:  the legacy code was retrying for a few seconds.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list