Mercurial > hg
comparison hgext/largefiles/reposetup.py @ 23543:4dd8a6a1240d
spelling: fixes from proofreading of spell checker issues
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 17 Apr 2014 22:47:38 +0200 |
parents | b5e2128ce9e6 |
children | 67d63ec85eb7 |
comparison
equal
deleted
inserted
replaced
23542:8b5adc6b72ae | 23543:4dd8a6a1240d |
---|---|
283 # TODO: _subdirlfs should be moved into "lfutil.py", because | 283 # TODO: _subdirlfs should be moved into "lfutil.py", because |
284 # it is referred only from "lfutil.updatestandinsbymatch" | 284 # it is referred only from "lfutil.updatestandinsbymatch" |
285 def _subdirlfs(self, files, lfiles): | 285 def _subdirlfs(self, files, lfiles): |
286 ''' | 286 ''' |
287 Adjust matched file list | 287 Adjust matched file list |
288 If we pass a directory to commit whose only commitable files | 288 If we pass a directory to commit whose only committable files |
289 are largefiles, the core commit code aborts before finding | 289 are largefiles, the core commit code aborts before finding |
290 the largefiles. | 290 the largefiles. |
291 So we do the following: | 291 So we do the following: |
292 For directories that only have largefiles as matches, | 292 For directories that only have largefiles as matches, |
293 we explicitly add the largefiles to the match list and remove | 293 we explicitly add the largefiles to the match list and remove |
341 # stack of hooks being executed before committing. | 341 # stack of hooks being executed before committing. |
342 # only last element ("_lfcommithooks[-1]") is used for each committing. | 342 # only last element ("_lfcommithooks[-1]") is used for each committing. |
343 repo._lfcommithooks = [lfutil.updatestandinsbymatch] | 343 repo._lfcommithooks = [lfutil.updatestandinsbymatch] |
344 | 344 |
345 # Stack of status writer functions taking "*msg, **opts" arguments | 345 # Stack of status writer functions taking "*msg, **opts" arguments |
346 # like "ui.status()". Only last element ("_lfupdatereporters[-1]") | 346 # like "ui.status()". Only last element ("_lfstatuswriters[-1]") |
347 # is used to write status out. | 347 # is used to write status out. |
348 repo._lfstatuswriters = [ui.status] | 348 repo._lfstatuswriters = [ui.status] |
349 | 349 |
350 def prepushoutgoinghook(local, remote, outgoing): | 350 def prepushoutgoinghook(local, remote, outgoing): |
351 if outgoing.missing: | 351 if outgoing.missing: |