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  |
|
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
|
|
|
|
Goto Forum:
Current Time: Sun Apr 27 22:25:23 CEST 2025
Total time taken to generate the page: 0.00342 seconds
|