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 » TheIDE hangs on "Show svn history of file"
TheIDE hangs on "Show svn history of file" [message #28518] Sun, 05 September 2010 15:04 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi,

I just found of those little, that are completely obvious and relatively easy to fix, just a bit annoying.

If you use theide with svn repository that is password protected (e.g. U++ head server) it hangs when you ask for svn history of file. The reason is simple, SVN asks for password and waits for user input.

The simple fix: Just add --non-interactive to the svn command (usvn/Diff.cpp, line 23). It will cause it to fail rather than hang whole theide.

The better fix: Use LocalProcess instead of Sys(), watch the process and ask user for password if necessary... That might be bit tricky to write, but it could solve similar trouble in case where ssh+svn:// protocol is used (that would not be covered by the simple fix, since then it is svn who asks for password and the --non-interactive has no affect).

What do you think?

Best regards,
Honza

PS: There should be also --non-interactive in SvnDiff::Load() (usvn/Diff.cpp, line 64). Possibly also in few other places.

[Updated on: Sun, 05 September 2010 16:22]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: My TheIDE complaints
Next Topic: TheIde and Delete package file/topic
Goto Forum:
  


Current Time: Thu May 02 16:11:46 CEST 2024

Total time taken to generate the page: 0.03490 seconds