Mercurial > hg
comparison hgext/lfs/__init__.py @ 45942:89a2afe31e82
formating: upgrade to black 20.8b1
This required a couple of small tweaks to un-confuse black, but now it
works. Big formatting changes come from:
* Dramatically improved collection-splitting logic upstream
* Black having a strong (correct IMO) opinion that """ is better than '''
Differential Revision: https://phab.mercurial-scm.org/D9430
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 27 Nov 2020 17:03:29 -0500 |
parents | 74271829ddc0 |
children | 59fa3890d40a |
comparison
equal
deleted
inserted
replaced
45941:346af7687c6f | 45942:89a2afe31e82 |
---|---|
170 filesetpredicate = eh.filesetpredicate | 170 filesetpredicate = eh.filesetpredicate |
171 reposetup = eh.finalreposetup | 171 reposetup = eh.finalreposetup |
172 templatekeyword = eh.templatekeyword | 172 templatekeyword = eh.templatekeyword |
173 | 173 |
174 eh.configitem( | 174 eh.configitem( |
175 b'experimental', b'lfs.serve', default=True, | 175 b'experimental', |
176 ) | 176 b'lfs.serve', |
177 eh.configitem( | 177 default=True, |
178 b'experimental', b'lfs.user-agent', default=None, | 178 ) |
179 ) | 179 eh.configitem( |
180 eh.configitem( | 180 b'experimental', |
181 b'experimental', b'lfs.disableusercache', default=False, | 181 b'lfs.user-agent', |
182 ) | 182 default=None, |
183 eh.configitem( | 183 ) |
184 b'experimental', b'lfs.worker-enable', default=True, | 184 eh.configitem( |
185 ) | 185 b'experimental', |
186 | 186 b'lfs.disableusercache', |
187 eh.configitem( | 187 default=False, |
188 b'lfs', b'url', default=None, | 188 ) |
189 ) | 189 eh.configitem( |
190 eh.configitem( | 190 b'experimental', |
191 b'lfs', b'usercache', default=None, | 191 b'lfs.worker-enable', |
192 default=True, | |
193 ) | |
194 | |
195 eh.configitem( | |
196 b'lfs', | |
197 b'url', | |
198 default=None, | |
199 ) | |
200 eh.configitem( | |
201 b'lfs', | |
202 b'usercache', | |
203 default=None, | |
192 ) | 204 ) |
193 # Deprecated | 205 # Deprecated |
194 eh.configitem( | 206 eh.configitem( |
195 b'lfs', b'threshold', default=None, | 207 b'lfs', |
196 ) | 208 b'threshold', |
197 eh.configitem( | 209 default=None, |
198 b'lfs', b'track', default=b'none()', | 210 ) |
199 ) | 211 eh.configitem( |
200 eh.configitem( | 212 b'lfs', |
201 b'lfs', b'retry', default=5, | 213 b'track', |
214 default=b'none()', | |
215 ) | |
216 eh.configitem( | |
217 b'lfs', | |
218 b'retry', | |
219 default=5, | |
202 ) | 220 ) |
203 | 221 |
204 lfsprocessor = ( | 222 lfsprocessor = ( |
205 wrapper.readfromstore, | 223 wrapper.readfromstore, |
206 wrapper.writetostore, | 224 wrapper.writetostore, |