OK this worked for me.
Thank you.
On Feb 19, 2:39 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> On 19.02.2010 22:24, Michael R wrote:
>
> > I *did* implement an issue tracker plugin...with an interface that
> > talks to Subversion, as I mentioned above. The user, in my example
> > above, uses the issue tracker plugin that I wrote, and their commit
> > executes the post-commit script I am talking about. My original
> > question is still not being answered.
>
> > In a post-commit hook, when I am handed a list of local committed
> > files from Tortoise (the first parameter in a post-commit hook), how
> > can I convert them into their proper protocol (http://, svn:// or file:///)
> > format and send them to my issue tracker? My issue tracker needs the
> > files with their respective protocol, not the local path to the
> > particular machine where the commit occurred.
>
> You have the commonUrl parameter in the plugin method, and you have the
> commonRoot parameter. You can use those two and do a little string
> manipulation to find the paths relative to the commonRoot, then prepend
> the commonUrl to those relative paths and you got your urls.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessa...
>
> To unsubscribe from this discussion, e-mail: [dev-unsubscr..._at_tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2451589
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-24 16:48:26 CET