# HG changeset patch # User Jun Wu # Date 1464346018 -3600 # Node ID 6ad1755f9e3f70fd23a70d6f909a86026d0b5bcb # Parent 56a872cba351851c39990dfb09728705aaa4dd3b wrappers: remove "svn.meta = meta" in pull This is part of a bigger plan to prevent a fd leak because SqliteRevMap.db never gets garbage collected. The "svn.meta = meta" adds another reference to the SVNMeta object and is never used. I changed it to "svn.meta = 1" and tests are passing so it looks safe to remove. diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -403,7 +403,6 @@ def pull(repo, source, heads=[], force=F svn = source.svn if meta is None: meta = repo.svnmeta(svn.uuid, svn.subdir) - svn.meta = meta stopat_rev = util.parse_revnum(svn, checkout)