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

Re: [PATCH] cvs2svn.py (1/2): infrastructure/options

From: <brane_at_xbc.nu>
Date: 2002-10-25 08:25:49 CEST

Quoting Greg Stein <gstein@lyra.org>:

> On Thu, Oct 24, 2002 at 11:50:14PM +0200, Branko Cibej wrote:
> >...
> > >+def branch_path(ctx, branch_name = None):
> > >+ if branch_name == None:
> >
> > Minor nit: None is a unique object, so you can/should test with "is"
>
> > rather than "==". This is not a showstopper, though.
>
> Drop the test altogether (and reverse the blocks):
>
> if branch_name:
> whatever...

Huh, of course...

> > +1 for applying options.dff and usagectx.diff (should be applied on top
> > of the former, right?). Greg, any objections?
>
> +1 ... looks great!

Committed in r3492. Thanks, Mark!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 25 08:26:26 2002

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

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