[prev in list] [next in list] [prev in thread] [next in thread]
List: tortoisesvn-dev
Subject: Re: Post-Commit Hook Protocol (http, svn, file) in Tortoise SVN
From: Michael R <arphaxad78 () gmail ! com>
Date: 2010-02-24 15:35:21
Message-ID: e4452ebd-c621-4d6e-a3dc-f37bbf907b8f () l24g2000prh ! googlegroups ! com
[Download RAW message or body]
OK this worked for me.
Thank you.
On Feb 19, 2:39 pm, Stefan Küng <tortoise...@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...@tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2451589
To unsubscribe from this discussion, e-mail: \
[dev-unsubscribe@tortoisesvn.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic