[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 146941] Help -> SVN plugin breakes off with error on commit
From: sebastian.bw () freenet ! de
Date: 2007-07-15 12:39:04
Message-ID: 20070715123904.18115.qmail () ktown ! kde ! org
[Download RAW message or body]
------- 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=146941
------- Additional Comments From sebastian.bw freenet de 2007-07-15 14:39 -------
Yes, I did go through the code of KDevelop an did wonder why there isn't used a \
KProcess and a shell where then svn+ssh is executed in. Then I did comment out all \
that additional work and did other test but I didn't get it that way. No, there will \
never be asked for a password, it runs then in a shell, but in separate processes and \
svn isn't' executed in a shell, so I wouldn't be asked for a password. May this can \
help:
-----
svn_exec = new KProcess;
svn_exec ->setUseShell( TRUE ); //you can do all with the shell out of an app., \
like you start Konsole as a user.
*svn_exec << "konsole" << " --notabbar --nomenubar --noclose -e "; //That the user \
can enter a password and does see whats going on.
*svn_exec << "svn commit ";
*svn_exec << list;
*svn_exec << " -m comment"; //All that's necessary for svn.
if( ! svn_exec->isRunning() )
{
if( ! svn_exec->start( svn_exec->OwnGroup ) )
{
svn_exec->kill();
KMessageBox::messageBox ( 0, KMessageBox::Error, QString("<p>Couldn't start SVN \
process <br><center>Error : 1</center></p>").arg( svn_exec->exitStatus() ), "Error"); \
return; }
return;
}
-----
May you will do other things with the shell (close it after all is done)
This is only an example.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic