You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brian Krusic <br...@krusic.com> on 2006/12/08 22:18:43 UTC

pre commit check log

Hi,

Noticed some behavior using a force log entry pre commit hook.

After committing a file with and empty log message, the client is showing 
that its adding the file before the check is made, then rejects the commit 
appropriately.

I've tried to place this code in the start commit vs the pre commit but it 
doesn't seem to work that way.

Some of our commits take 30 min and so this can be annoying.

I feel its normal behavior as there needs to be a commit before a check can 
be made however I was wondering if anyone can shed some light on this.

Thanks in advance,
Bri- 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: pre commit check log

Posted by Brian Krusic <br...@krusic.com>.
Hi Ryan,

The commits are over the internet at several repo locations and are pretty 
large as well.

Thanks for the clarification.

Bri-
----- Original Message ----- 
From: "Ryan Schmidt" <su...@ryandesign.com>
To: "Brian Krusic" <br...@krusic.com>
Cc: <us...@subversion.tigris.org>
Sent: Friday, December 08, 2006 3:23 PM
Subject: Re: pre commit check log


>
> On Dec 8, 2006, at 16:18, Brian Krusic wrote:
>
>> Noticed some behavior using a force log entry pre commit hook.
>>
>> After committing a file with and empty log message, the client is 
>> showing that its adding the file before the check is made, then  rejects 
>> the commit appropriately.
>>
>> I've tried to place this code in the start commit vs the pre commit  but 
>> it doesn't seem to work that way.
>>
>> Some of our commits take 30 min and so this can be annoying.
>>
>> I feel its normal behavior as there needs to be a commit before a  check 
>> can be made however I was wondering if anyone can shed some  light on 
>> this.
>
>
> It is expected that the client needs to transfer the deltas to the  server 
> before the server can execute the pre-commit hook, but what on  earth is 
> making your commits take 30 minutes? That's extremely long.  Unless you're 
> transferring several gigs of data I don't see why that  should be.
>
>
>
> -- 
> To reply to the mailing list, please use your mailer's Reply To All 
> function
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006 
> 12:53 PM
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: pre commit check log

Posted by Brian Krusic <br...@krusic.com>.
Forgot to mention that since we are using Tortoise over here, that instead 
of doing a pre commit hook, I simply set an attaribute on the folder that 
won't allow a user to commit via Tortoise unless they have a comment.

Ofcourse this can be side stepped by command line submits but in those 
cases, the pre commit log hook will still be in place.

Just an fyi.

Bri-
Krusic Consulting Inc.
CISSP #51326
----- Original Message ----- 
From: "Ryan Schmidt" <su...@ryandesign.com>
To: "Brian Krusic" <br...@krusic.com>
Cc: <us...@subversion.tigris.org>
Sent: Friday, December 08, 2006 3:23 PM
Subject: Re: pre commit check log


>
> On Dec 8, 2006, at 16:18, Brian Krusic wrote:
>
>> Noticed some behavior using a force log entry pre commit hook.
>>
>> After committing a file with and empty log message, the client is 
>> showing that its adding the file before the check is made, then  rejects 
>> the commit appropriately.
>>
>> I've tried to place this code in the start commit vs the pre commit  but 
>> it doesn't seem to work that way.
>>
>> Some of our commits take 30 min and so this can be annoying.
>>
>> I feel its normal behavior as there needs to be a commit before a  check 
>> can be made however I was wondering if anyone can shed some  light on 
>> this.
>
>
> It is expected that the client needs to transfer the deltas to the  server 
> before the server can execute the pre-commit hook, but what on  earth is 
> making your commits take 30 minutes? That's extremely long.  Unless you're 
> transferring several gigs of data I don't see why that  should be.
>
>
>
> -- 
> To reply to the mailing list, please use your mailer's Reply To All 
> function
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006 
> 12:53 PM
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: pre commit check log

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 8, 2006, at 16:18, Brian Krusic wrote:

> Noticed some behavior using a force log entry pre commit hook.
>
> After committing a file with and empty log message, the client is  
> showing that its adding the file before the check is made, then  
> rejects the commit appropriately.
>
> I've tried to place this code in the start commit vs the pre commit  
> but it doesn't seem to work that way.
>
> Some of our commits take 30 min and so this can be annoying.
>
> I feel its normal behavior as there needs to be a commit before a  
> check can be made however I was wondering if anyone can shed some  
> light on this.


It is expected that the client needs to transfer the deltas to the  
server before the server can execute the pre-commit hook, but what on  
earth is making your commits take 30 minutes? That's extremely long.  
Unless you're transferring several gigs of data I don't see why that  
should be.



-- 
To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org