0

This question might be weird but I will explain why.

I am aware that svn info command displays the repository details where I can get the remote URL.

But in my situation I am running a background task on windows which is a ruby gtk2 application. When I do svn info "#{url}" it leads to opening a command prompt cmd.exe which just flashes on the screen for a second and disappears.

As this app is running as a windows service in the background and this command is scheduled for every few minutes, it keeps flashing the user's screen with a command prompt and disappears.

So would like to get the remote svn url in a way which does not involve doing svn info or figure a way to not flash the screen.

BTW i am using Tortoise SVN with command line arguments enabled. And the flashing command prompt is C:\Program Files\TortoiseSVN\bin\svn.exe.

Any help will be really appreciated. :-)

Thanks

3
  • You can run the hided process? Commented Aug 3, 2015 at 14:51
  • I mean you can call svn info your_checkout --xml as hiden process and parse the xml, without any 'flashing' Commented Aug 3, 2015 at 14:57
  • Hiden - I mean hidden :( Commented Aug 3, 2015 at 15:09

1 Answer 1

2

Run svn info your_checkout --xml as hidden process, and parse the results.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.