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

Re: pre-commit hook script to avoid unwanted. to complex ?

From: Phil Pinkerton <pcpinkerton_at_gmail.com>
Date: Thu, 24 Sep 2009 16:12:11 -0400

for now lets say the final file size has a 1MB limit. I imagine the
pre-commit could be modified later if the size is too small.

On Thu, Sep 24, 2009 at 4:00 PM, Andy Levy <andy.levy_at_gmail.com> wrote:

> On Thu, Sep 24, 2009 at 15:55, Phil Pinkerton <pcpinkerton_at_gmail.com>
> wrote:
> > Sorry for the lame explanation. I need a pre-commit script for a
> subversion
> > repository that follows the logic of the syntax.
> >
> > The question should have been:
> >
> > Is it possible to write a pre-commit script that accomplishes the example
> > syntax.
>
> Do you want the "final" size, or the committed size?
>
> IOW, what happens if someone commits an 800KB MDB file...then a 150KB
> change...then a 200KB change?
>
> The sizes of the individual changes are within your limit, but not the
> final file.
>
> > On Thu, Sep 24, 2009 at 3:49 PM, Andy Levy <andy.levy_at_gmail.com> wrote:
> >>
> >> On Thu, Sep 24, 2009 at 15:46, David Weintraub <qazwart_at_gmail.com>
> wrote:
> >> > I take it this is written in VisualBasic? Not familiar with the
> syntax,
> >> > but
> >> > that's pretty much how you'd do it. One comment is to print out
> >> > something to
> >> > STDERR to explain why the commit failed. This should include the name
> of
> >> > the
> >> > file rejected and the reason.
> >>
> >> I think it was meant as pseudocode for a solution to a question
> >> someone asked. Not sure what the exact question was though.
> >
> >
> >
> > --
> > " The fundamental principle here is that the justification for a physical
> > concept lies exclusively in its clear and unambiguous relation to the
> facts
> > that it can be experienced" AE
> >
> > Please Feed and Educate the Children... it's the least any of us can do.
> >
> >
>

-- 
" The fundamental principle here is that the justification for a physical
concept lies exclusively in its clear and unambiguous relation to the facts
that it can be experienced"   AE
Please Feed and Educate the Children... it's the least any of us can do.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2399977
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-24 22:14:04 CEST

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

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