changeset 11756:0299240b849b stable

verify: initialize rp variable in case we hit out of memory
author Matt Mackall <mpm@selenic.com>
date Thu, 05 Aug 2010 16:17:33 -0500
parents 7d2aaeea67ed
children 65bd4b8e48bd
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/verify.py	Thu Aug 05 16:17:17 2010 -0500
+++ b/mercurial/verify.py	Thu Aug 05 16:17:33 2010 -0500
@@ -231,6 +231,7 @@
 
         checklog(fl, f, lr)
         seen = {}
+        rp = None
         for i in fl:
             revisions += 1
             n = fl.node(i)