Tom Blough wrote:
>> Stefan Küng wrote:
>>
>> As of revision 12062, the CWD is set if there's only one path
>> affected for the script.
>
> By one path affected, do you mean only one working path? What if my project
> has subdirectories and I have files being committed that are located in
> multiple subdirectories? What if none of the committed files is in the root
> of the working copy; how is the CWD set in that case? Instead of trying to
> work with something that MIGHT be set, I think it would be easier to handle
> something more explicit.
The 'one path' I was talking about is the %PATHS% one, which means for
commits it's the path you right-clicked on.
But I think I have to check my changes again, there might be some
confusion about the path. I agree with you that the CWD should be set to
the path the user right-clicked on for that command (in case multiple
files/folders were selected for the command, the parent path of the
selected ones could be used instead).
I'll improve this soon...
>> Maybe specifying the path as '*' or leaving it empty could force the
>> hook script to run for all paths?
>>
>> If nobody objects to this, I'll implement that tomorrow...
>
> I have never seen a open source project with such active developers.
> Stefan, let me know if you'd like some Amazon gift certificates to help with
> your music addiction, or if you'd rather I paypal the project. Glad I
> discovered this project - it's nice to be able to reward those who made it
> happen.
The Amazon gifts are personal for the one you give them to. PayPal
donations go to all the developers (we share those donations between the
most active developers here).
So you decide :)
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-02-08 09:47:34 CET