[Python-Dev] [Python-checkins] hooks: Fix checkbranch hook
Antoine Pitrou
solipsis at pitrou.net
Sat Feb 26 22:50:25 CET 2011
On Sat, 26 Feb 2011 22:36:47 +0100
Éric Araujo <merwok at netwok.org> wrote:
> > + if branch in ('trunk', 'legacy-trunk',
> > + '2.0', '2.1', '2.2', '2.3', '2.4', '3.0'):
>
> Wouldn’t using a whitelist instead of a blacklist protect against new
> named branches too?
Then we will have to fix the hook each time we want to add a new
legitimate branch. I have no preference really.
Regards
Antoine.
More information about the Python-Dev
mailing list