Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » svn can block TheIde
icon4.gif  svn can block TheIde [message #43094] Mon, 05 May 2014 16:36
Zbych is currently offline  Zbych
Messages: 307
Registered: July 2009
Senior Member
Hi,

Only one svn command (checkout) uses "--non-interactive" parameter to avoid questions from svn.
Unfortunately almost each svn command can ask you for repository password and hang TheIde (only solution is to kill svn process)

I think that every single svn command should use "--non-interactive" parameter.

upp/uppsrc/usvn/SvnSync.cpp(56):  Vector<String> ln = Split(Sys("svn status " + path), CharFilterCrLf);
upp/uppsrc/usvn/SvnSync.cpp(75):        an = "svn add";
upp/uppsrc/usvn/SvnSync.cpp(80):        an = "svn delete";
upp/uppsrc/usvn/SvnSync.cpp(214):    works.Load(LoadFile(ConfigFile("svnworks")));
upp/uppsrc/usvn/SvnSync.cpp(216):    SaveFile(ConfigFile("svnworks"), works.Save());
upp/uppsrc/usvn/SvnSync.cpp(303):     sys.CheckSystem("svn revert \"" + path + "\"");
upp/uppsrc/usvn/SvnSync.cpp(317):     sys.CheckSystem("svn add --force \"" + path + "\"");
upp/uppsrc/usvn/SvnSync.cpp(320):     sys.CheckSystem("svn delete \"" + path + "\"");
upp/uppsrc/usvn/SvnSync.cpp(323):     sys.CheckSystem("svn resolved \"" + path + "\"");
upp/uppsrc/usvn/SvnSync.cpp(333):      Vector<String> ln = Split(Sys("svn status \"" + path + "\""), CharFilterCrLf);
upp/uppsrc/usvn/SvnSync.cpp(341):          sys.CheckSystem("svn add --force \"" + file + "\"");
upp/uppsrc/usvn/SvnSync.cpp(343):          sys.CheckSystem("svn delete \"" + file + "\"");
upp/uppsrc/usvn/Diff.cpp(23):  String log = Sys("svn log " + f);
upp/uppsrc/usvn/Diff.cpp(64): diff.Set(LoadFile(editfile), extfile = Sys("svn cat " + editfile + '@' + AsString(~r), false));



Another problem is that when TheIde waits for svn output, all mouse clicks are blocked (Ubuntu 12.04 + Unity) - no application is receiving mouse click events.
Is it a side effect of WaitCursor?
Previous Topic: GDB_MI2 debugger fixes
Next Topic: Uncaught
Goto Forum:
  


Current Time: Sun Dec 08 22:53:20 CET 2019

Total time taken to generate the page: 0.01017 seconds