Mercurial > hg
comparison hgext/largefiles/uisetup.py @ 15252:6e809bb4f969
largefiles: improve comments, internal docstrings
- fix some ungrammatical/unclear/incorrect comments/docstrings
- rewrite some really unclear comments/docstrings
- make formatting/style more consistent with the rest of Mercurial
(lowercase without period unless it's really multiple sentences)
- wrap to 75 columns
- always say "largefile(s)", not "lfile(s)" (or "big files")
- one space between sentences, not two
author | Greg Ward <greg@gerg.ca> |
---|---|
date | Wed, 12 Oct 2011 20:59:27 -0400 |
parents | 8e115063950d |
children | dd03d3a9f888 |
comparison
equal
deleted
inserted
replaced
15251:173b00827279 | 15252:6e809bb4f969 |
---|---|
108 # the hello wireproto command uses wireproto.capabilities, so it won't see | 108 # the hello wireproto command uses wireproto.capabilities, so it won't see |
109 # our largefiles capability unless we replace the actual function as well. | 109 # our largefiles capability unless we replace the actual function as well. |
110 proto.capabilities_orig = wireproto.capabilities | 110 proto.capabilities_orig = wireproto.capabilities |
111 wireproto.capabilities = proto.capabilities | 111 wireproto.capabilities = proto.capabilities |
112 | 112 |
113 # these let us reject non-lfiles clients and make them display our error | 113 # these let us reject non-largefiles clients and make them display |
114 # messages | 114 # our error messages |
115 protocol.webproto.refuseclient = proto.webproto_refuseclient | 115 protocol.webproto.refuseclient = proto.webproto_refuseclient |
116 sshserver.sshserver.refuseclient = proto.sshproto_refuseclient | 116 sshserver.sshserver.refuseclient = proto.sshproto_refuseclient |
117 | 117 |
118 # can't do this in reposetup because it needs to have happened before | 118 # can't do this in reposetup because it needs to have happened before |
119 # wirerepo.__init__ is called | 119 # wirerepo.__init__ is called |