Mercurial > hg-stable
comparison hgext/largefiles/overrides.py @ 16248:51e6f318bdf1
largefiles: fix check-code errors.
author | Na'Tosha Bard <natosha@unity3d.com> |
---|---|
date | Fri, 09 Mar 2012 17:11:07 +0100 |
parents | d87d9d8a8e03 |
children | 290850e7aa43 |
comparison
equal
deleted
inserted
replaced
16247:d87d9d8a8e03 | 16248:51e6f318bdf1 |
---|---|
426 except OSError: | 426 except OSError: |
427 return result | 427 return result |
428 | 428 |
429 try: | 429 try: |
430 try: | 430 try: |
431 # When we call orig below it creates the standins but we don't add them | 431 # When we call orig below it creates the standins but we don't add |
432 # to the dir state until later so lock during that time. | 432 # them to the dir state until later so lock during that time. |
433 wlock = repo.wlock() | 433 wlock = repo.wlock() |
434 | 434 |
435 manifest = repo[None].manifest() | 435 manifest = repo[None].manifest() |
436 oldmatch = None # for the closure | 436 oldmatch = None # for the closure |
437 def overridematch(ctx, pats=[], opts={}, globbed=False, | 437 def overridematch(ctx, pats=[], opts={}, globbed=False, |