equal
deleted
inserted
replaced
448 for __ in xrange(add): |
448 for __ in xrange(add): |
449 lines.insert(random.randint(0, len(lines)), makeline()) |
449 lines.insert(random.randint(0, len(lines)), makeline()) |
450 path = fctx.path() |
450 path = fctx.path() |
451 changes[path] = '\n'.join(lines) + '\n' |
451 changes[path] = '\n'.join(lines) + '\n' |
452 for __ in xrange(pick(filesremoved)): |
452 for __ in xrange(pick(filesremoved)): |
453 path = random.choice(mfk) |
|
454 for __ in xrange(10): |
453 for __ in xrange(10): |
455 path = random.choice(mfk) |
454 path = random.choice(mfk) |
456 if path not in changes: |
455 if path not in changes: |
457 break |
456 break |
458 if filesadded: |
457 if filesadded: |