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

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

From: Phil Pinkerton <pcpinkerton_at_gmail.com>
Date: Thu, 24 Sep 2009 15:37:34 -0400

Develop a pre-commit hook script with the following action:

if filename extension = ".mdb" then
   if filename.size > 1mb then
          CANCEL COMMIT
          END of script
       end if
    end if
end if
Complete COMMIT

This is required to avoid placing Access databases into the repository that
might contain unwanted test data or have not been compacted and cleaned
first.

This will avoid the commitment of millions of bytes of worthless data in the
repository, increasing its size and slowing down the execution of
Subversion.

-- 
" 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=2399964
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-24 21:38:51 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.