From kdevelop-bugs Wed Feb 28 01:26:12 2007 From: Andreas Pakulat Date: Wed, 28 Feb 2007 01:26:12 +0000 To: kdevelop-bugs Subject: [Bug 141025] Subversion plugin of kdevelop does N commits when Message-Id: <20070228012612.21145.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306972312381 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=141025 apaku gmx de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From apaku gmx de 2007-02-28 02:26 ------- SVN commit 637874 by apaku: Fix comitting of multiple files. Thanks to dukju ahn for the patch. BUG:141025 M +9 -8 subversion_core.cpp --- branches/kdevelop/3.4/vcs/subversion/subversion_core.cpp #637873:637874 @ -222,16 +222,17 @ servURL.setProtocol( "svn+" + servURL.protocol() ); //make sure it starts with "svn" } kdDebug(9036) << "servURL : " << servURL.prettyURL() << endl; + QByteArray parms; + QDataStream s( parms, IO_WriteOnly ); + int cmd = 3; + s << cmd; for ( QValueListConstIterator it = list.begin(); it != list.end() ; ++it ) { - kdDebug(9036) << "commiting : " << (*it).prettyURL() << endl; - QByteArray parms; - QDataStream s( parms, IO_WriteOnly ); - int cmd = 3; - s << cmd << *it; - SimpleJob * job = KIO::special(servURL, parms, true); - job->setWindow( m_part->mainWindow()->main() ); - connect( job, SIGNAL( result( KIO::Job * ) ), this, SLOT( slotResult( KIO::Job * ) ) ); + kdDebug(9036) << "adding to list: " << (*it).prettyURL() << endl; + s << *it; } + SimpleJob * job = KIO::special(servURL, parms, true); + job->setWindow( m_part->mainWindow()->main() ); + connect( job, SIGNAL( result( KIO::Job * ) ), this, SLOT( slotResult( KIO::Job * ) ) ); } void subversionCore::add( const KURL::List& list ) {