##// END OF EJS Templates
pytype: stop excluding copies.py...
Matt Harbison -
r49308:79b90431 default
parent child Browse files
Show More
@@ -448,7 +448,11 b' def _combine_changeset_copies('
448
448
449 # filter out internal details and return a {dest: source mapping}
449 # filter out internal details and return a {dest: source mapping}
450 final_copies = {}
450 final_copies = {}
451 for dest, (tt, source) in all_copies[targetrev].items():
451
452 targetrev_items = all_copies[targetrev]
453 assert targetrev_items is not None # help pytype
454
455 for dest, (tt, source) in targetrev_items.items():
452 if source is not None:
456 if source is not None:
453 final_copies[dest] = source
457 final_copies[dest] = source
454 if not alwaysmatch:
458 if not alwaysmatch:
@@ -13,7 +13,6 b' mercurial/bundlerepo.py # no vfs a'
13 mercurial/chgserver.py # [attribute-error]
13 mercurial/chgserver.py # [attribute-error]
14 mercurial/cmdutil.py # No attribute 'markcopied' on mercurial.context.filectx [attribute-error]
14 mercurial/cmdutil.py # No attribute 'markcopied' on mercurial.context.filectx [attribute-error]
15 mercurial/context.py # many [attribute-error]
15 mercurial/context.py # many [attribute-error]
16 mercurial/copies.py # No attribute 'items' on None [attribute-error]
17 mercurial/crecord.py # tons of [attribute-error], [module-attr]
16 mercurial/crecord.py # tons of [attribute-error], [module-attr]
18 mercurial/debugcommands.py # [wrong-arg-types]
17 mercurial/debugcommands.py # [wrong-arg-types]
19 mercurial/dispatch.py # initstdio: No attribute ... on TextIO [attribute-error]
18 mercurial/dispatch.py # initstdio: No attribute ... on TextIO [attribute-error]
@@ -57,7 +56,6 b' development, but may be a hinderance for'
57 > -x mercurial/chgserver.py \
56 > -x mercurial/chgserver.py \
58 > -x mercurial/cmdutil.py \
57 > -x mercurial/cmdutil.py \
59 > -x mercurial/context.py \
58 > -x mercurial/context.py \
60 > -x mercurial/copies.py \
61 > -x mercurial/crecord.py \
59 > -x mercurial/crecord.py \
62 > -x mercurial/debugcommands.py \
60 > -x mercurial/debugcommands.py \
63 > -x mercurial/dispatch.py \
61 > -x mercurial/dispatch.py \
General Comments 0
You need to be logged in to leave comments. Login now