--- Ben Collins-Sussman <sussman@collab.net> wrote:
> Noel Yap <yap_noel@yahoo.com> writes:
>
> > --- Ben Collins-Sussman <sussman@collab.net>
> wrote:
> > > 2. make a company policy of setting this
> property
> > > whenever you add
> > > a new file to version control. (i.e.
> after
> > > you 'svn add'
> > > something.)
> >
> > Alternatively, I'm wondering if a post-commit
> script
> > would be viable in this situation. Do you think
> such
> > a script would be safe?
>
> You're talking (once again) about a post-commit
> script making a
> commit. That leads to infinite loops, remember?
> (Unless you're
> extremely clever.) :-)
Oh, yes, I forgot to mention this caveat.
Solo, I haven't tried this out myself so I'm not even
sure if there's a way to stop the infinite recursion.
If you find a way, please let me/us know.
> A pre-commit script won't work either, because if it
> changes the
> transaction just before committing, then the client
> believes that HEAD
> looks different than it really does. (i.e. the
> client thinks the
> newly added file has no props.)
Yes, of course. I should've mentioned this too in
case others were thinking of going down this path.
Thanks,
Noel
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 14 01:16:51 2002