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

Re: [PATCH] Avoid traceback in a build script

From: Bhuvaneswaran Arumugam <bhuvan_at_collab.net>
Date: 2007-10-05 18:25:44 CEST

On Fri, 2007-10-05 at 21:44 +0530, Bhuvaneswaran Arumugam wrote:
> Hello,
> Please find attached a patch to avoid traceback if no argument is passed
> for build/getversion.py script.
> If no argument is passed, identify the header file automatically. This
> is just better than a traceback.


Please avoid the previous patch. I think, displaying a usage message is
better than identifying the svn_version.h header file automatically
using relative path. Please find attached a revised patch.

If no argument is passed, print the usage message. It is just better
than a traceback.

Avoid traceback if no argument is passed.

* build/getversion.py
  (main): Do not import 'os' library. If header file is not passed in
  command line, display the usage message and exit. It is just better
  than a traceback.

Patch by: bhuvan


Received on Fri Oct 5 18:25:56 2007

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.