Hi All

Hi All,
I'm busy writing an app that is meant to collect configuration files from various routers and then commit them to subversion so that we have "change monitoring". The issue/problem I am having is that I am using TortoiseSVN as the application (svn.exe) to commit the config files, from my main app, but I would rather want to use the library files (dll) instead so that I can get "feedback" regarding the actions that took place. Has anyone done something like this before or have a suggestions?
Many thx in adv.

Comments

  1. I thought svn had a command-line interface? It shouldn't be too hard to get the result code, and/or read the std output and std error streams...

    ReplyDelete
  2. That is what I am currently using at the moment and I do so by using the function "BOOL WINAPI CreateProcess(" which creates popups every time it runs. Also if I disable the popups from been shown then the "svn commits" don't always work.
    Also I'm not sure how to "collect" the result.

    ReplyDelete
  3. Apache SVN has the command line tools, and that is prolly the least effort, compared to using the libs. That said, there is a open source SVN plug in for Delphi, if I am not mistaking?

    ReplyDelete
  4. Hi Lars, there is but that is if you are committing your application, that you are writing in Delphi, to a subversion repository. Are you referring to that?

    ReplyDelete
  5. Duncan Ewan - I was thinking that learning the libs would be easier if one were to take a look at the source.

    ReplyDelete
  6. You may look at Version Insight plus, which the same version bundled with recent Delphi IDEs plus more features and support to HG too.
    Another options is TortoiseSVN Add-In for Delphi
    http://sourceforge.net/projects/delphitsvnaddin/
    which is also open source project

    ReplyDelete
  7. Hi All,
    Thank you for the feedback so far.
    It looks like David's suggestion of http://stackoverflow.com/questions/7980679/reading-svnexternals-from-working-copy is going to meet me requirements perfectly!

    Many thx!!

    ReplyDelete
  8. That's what I meant when I said stackoverflow is the most useful programming related site on the entire internet.
    Look Thomas Mueller somebody else found your question (and of course the answer) useful.

    ReplyDelete
  9. Glad to be of service ;-)
    David's answer was exactly what I was looking for when I asked that question.

    ReplyDelete

Post a Comment