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

[PATCH] Upgrade server-side python scripts to use automatic memory management

From: David James <james82_at_gmail.com>
Date: 2005-09-23 20:35:29 CEST

This patch upgrades Subversion's server-side python scripts to use
automatic memory management. I'd like to see this patch included in
Subversion 1.3. Please test this patch and let me know whether the
affected scripts still work on your system.

[[[

Upgrade server-side Python scripts to use automatic memory management.

* contrib/hook-scripts/pre-lock-require-needs-lock.py
  (main): Remove pool argument. Use automatic memory management
* contrib/hook-scripts/check-case-insensitive.py
  (SVNLook.__init__, SVNLook._get_id, CheckCase.__init__): Remove pool
  argument. Use automatic memory management
* contrib/hook-scripts/pre-commit-check.py
  (main): Remove pool argument. Use automatic memory management.
* contrib/server-side/svn-obliterate.py
  (get_node_id): Remove pool argument. Use automatic memory management.
  (main): Use automatic memory management.
* tools/hook-scripts/verify-po.py
  (ChangeReceiver.__init__, ChangeReceiver.close_file,
   ChangeReceiver.check_po): Use automatic memory management.
* tools/hook-scripts/mailer/mailer.py:
  (main, Messenger.__init__, Commit.__init__, PropChange.__init__,
   Lock.__init__, generate_content, DiffGenerator.__init__,
   Repository.__init__): Remove pool argument. Use automatic memory
  management.
  (Commit.generate, DiffGenerator.__getitem__): Use automatic memory
  management.
* tools/hook-scripts/mailer/tests/mailer-tweak.py
  (tweak_dates): Remove pool argument. Use automatic memory
  management.

]]]

--
David James -- http://www.cs.toronto.edu/~james


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Sep 23 20:36:53 2005

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