Menu

Available ## tokens

Help
2008-04-15
2013-05-01
  • Laker Netman

    Laker Netman - 2008-04-15

    I noticed in the log file that the first line, includes the physical repo path, e.g.:
    [4/15/2008 10:06:11 AM]        Staring process for Revision 2 [D:/SVN/repo]

    Is it possible to make that physical path available to the config and external scripts (<Execute>) through a token like #repoPhysicalPath# or #repoRealPath#? Probably need to consider the orientation of slashes, too (which I know is a pain), since it differs between Windows and the real world.

    I need to differentiate commits and actions to a number of repositories and this would help immensely, unless there is an alternative which I'm not aware of.

    Thanks,
    Laker

     
    • mmckechney

      mmckechney - 2008-04-15

      With a newly committed version (1.4.5) I have added  #repoPhysicalPath# as a replace tolken for the command line attribute of the <Execute> element. I hope this does the trick. I have also added some additional functionality regarding the control of multiple physical repositories. While I haven't posted an offical download, you can grab the new executable from Subversion here and the manual has been updated with the new features as well.

      Exe: http://svn-notify.svn.sourceforge.net/viewvc/\*checkout*/svn-notify/trunk/SubversionNotify/bin/Debug/SubversionNotify.exe
      manual: http://mckechney.com/SubversionNotifyForWindows

      Thanks for the input and if you have any other suggestions for improvement or if you find any bugs, please let me know!
      Mike

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.