changeset 1426:6ad1755f9e3f

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.
author Jun Wu <quark@fb.com>
date Fri, 27 May 2016 11:46:58 +0100
parents 56a872cba351
children 5b9002d28418
files hgsubversion/wrappers.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)