Thanks I will try it out and let you know if it worked...
That SED line looks very complicated... almost every symbol on the keyboard
other than the numbers and letters... :)
Thanks
On 4/12/06, Ryan Schmidt <subversion-2006Q1@ryandesign.com> wrote:
>
> On Apr 12, 2006, at 19:20, Phil wrote:
>
> > I need help with the syntax for a pre commit hook script.
> > I want to check that svn:need-lock is set on files before the are
> > commited.
> >
> > I looked at the default pre-commit hook but I am not much of a
> > programmer and I cannot figure out the syntax for what I want to
> > accomplish.
>
> I wrote the attached script for you which seems to work, assuming you
> have a Unix-like server. You'll need to configure the paths to the
> svnlook and sed executables. Unfortunately I'm not one enough with
> sed to understand why, but the way I used sed only seems to work with
> GNU sed, not BSD sed. Outrageous theories about this are gladly
> accepted. If you have a Windows server, then someone will first have
> to convert this shell script to something that runs on Windows.
>
>
>
>
>
Received on Wed Apr 12 21:07:05 2006