Mercurial > hg
comparison hgext/largefiles/proto.py @ 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 | a977b42df8b3 |
children | 6614e5e24e66 |
comparison
equal
deleted
inserted
replaced
18921:ac31f586eff7 | 18922:d2c4d37f7db5 |
---|---|
13 import lfutil | 13 import lfutil |
14 | 14 |
15 LARGEFILES_REQUIRED_MSG = ('\nThis repository uses the largefiles extension.' | 15 LARGEFILES_REQUIRED_MSG = ('\nThis repository uses the largefiles extension.' |
16 '\n\nPlease enable it in your Mercurial config ' | 16 '\n\nPlease enable it in your Mercurial config ' |
17 'file.\n') | 17 'file.\n') |
18 | |
19 # these will all be replaced by largefiles.uisetup | |
20 capabilitiesorig = None | |
21 ssholdcallstream = None | |
22 httpoldcallstream = None | |
18 | 23 |
19 def putlfile(repo, proto, sha): | 24 def putlfile(repo, proto, sha): |
20 '''Put a largefile into a repository's local store and into the | 25 '''Put a largefile into a repository's local store and into the |
21 user cache.''' | 26 user cache.''' |
22 proto.redirect() | 27 proto.redirect() |