equal
deleted
inserted
replaced
512 if not dryrun: |
512 if not dryrun: |
513 changed = self['.'].files() |
513 changed = self['.'].files() |
514 ret = super(kwrepo, self).rollback(dryrun) |
514 ret = super(kwrepo, self).rollback(dryrun) |
515 if not dryrun: |
515 if not dryrun: |
516 ctx = self['.'] |
516 ctx = self['.'] |
517 modified, added = super(kwrepo, self).status()[:2] |
517 modified, added = self[None].status()[:2] |
518 kwt.overwrite(ctx, added, True, False, changed) |
518 kwt.overwrite(ctx, added, True, False, changed) |
519 kwt.overwrite(ctx, modified, True, True, changed) |
519 kwt.overwrite(ctx, modified, True, True, changed) |
520 return ret |
520 return ret |
521 finally: |
521 finally: |
522 wlock.release() |
522 wlock.release() |