changeset 18922:d2c4d37f7db5

largefiles: quiet (and document) undefined name errors (issue3886) These names were found using Cython; I was completely puzzled until I searched the rest of the tree. It's icky to mess with another module's namespace, but ickier yet to do so without a comment :-)
author Bryan O'Sullivan <bryano@fb.com>
date Fri, 12 Apr 2013 17:33:24 -0700
parents ac31f586eff7
children d2647edb1782
files hgext/largefiles/proto.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/proto.py	Fri Apr 12 17:27:09 2013 -0700
+++ b/hgext/largefiles/proto.py	Fri Apr 12 17:33:24 2013 -0700
@@ -16,6 +16,11 @@
                            '\n\nPlease enable it in your Mercurial config '
                            'file.\n')
 
+# these will all be replaced by largefiles.uisetup
+capabilitiesorig = None
+ssholdcallstream = None
+httpoldcallstream = None
+
 def putlfile(repo, proto, sha):
     '''Put a largefile into a repository's local store and into the
     user cache.'''