[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: <Is it a bug?> Re: User Hook Scripts

From: golan davidovits <golandav_at_yahoo.com>
Date: Tue, 6 Jan 2009 07:43:36 -0800 (PST)

My intention was only to explain why I'm sending same message twice and not to "demand" an answer.
I apologize if i offended anyone.

Golan

----- Original Message ----
From: Andy Levy <andy.levy_at_gmail.com>
To: users_at_tortoisesvn.tigris.org
Sent: Tuesday, January 6, 2009 3:14:33 PM
Subject: Re: <Is it a bug?> Re: User Hook Scripts

On Tue, Jan 6, 2009 at 01:34, golan davidovits <golandav_at_yahoo.com> wrote:
> Hi,
>
> I'm resending because i didn't get any reply and it's very important to me to resolve this issue.

Demanding answers is no way to win friends. You're resending after
waiting less than 24 hours; everyone on this mailing list is a
volunteer for whom TSVN is not their day job, and most are just
returning from extended vacations due to the holidays.

> The mentioned problem is that firing "Start Commit" user hook from check for modifications-> commit populates the MESSAGEFILE list with all changed paths, but running it directly from right click->commit populates MESSAGEFILE file with only the CWD path (even if it didn't change).
>
> Thanks,
> Golan
>
>
>
> ----- Original Message ----
> From: golan davidovits <golandav_at_yahoo.com>
> To: users_at_tortoisesvn.tigris.org
> Sent: Monday, January 5, 2009 10:34:34 AM
> Subject: Re: User Hook Scripts
>
> Hi Stefan,
>
> You are right, i did mean to delete only the svn:mergeinfo property.
> Anyway, I continued with my experiment and encountered a problem.
>
>
> First, my intention to match against CWD (top level) is not enough since i can't control the depth were the user will try to commit.
> I resolved it by checking if <line> is DIR and then if <line>\..\.svn exist. if not -> then it's the top level folder that should not be deleted.
> All other properties changes should be removed.
>
> Now, i see that if i run the "start commit" hook from check for modifications->commit, the MESSAGEFILE list is populated with all the changed paths, but if i run it by standing the on top level folder and select commit from there, only the top folder list is written in the MESSAGEFILE. This is blocking me from completing the hook.
>
> In addition, it would be very useful if any such client hook will have a disable\enable checkbox. It could make debugging easier.
>
> Thanks,
> Golan
>
>
>
> ----- Original Message ----
> From: Stefan Kueng <tortoisesvn_at_gmail.com>
> To: users_at_tortoisesvn.tigris.org
> Sent: Friday, January 2, 2009 9:53:24 AM
> Subject: Re: User Hook Scripts
>
> golan davidovits wrote:
>> Cool Thanks :-)
>>
>> This is my intention: We have many issues with the properties changes on inner folders.
>> And we don't do inner folders merges. So until SVN 1.6 will minimize these properties creation i thought running "Start Merge" user hook that will do:
>>
>> go over the file list <lines> coming from MESSAGEFILE and if path <> CWD (top level folder) run "svn propdel <line>"
>>
>>
>> Do you see any issue with that?
>
> Only one small issue: you should check first whether the property is
> really svn:mergeinfo before you remove it!
>
> Stefan
>
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=999419
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1004530
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1007050
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1007742

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-06 16:43:49 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.