hgkw/keyword.py
changeset 812 d11a6a561253
parent 811 31205612c018
child 813 9d01f9cab5e2
equal deleted inserted replaced
811:31205612c018 812:d11a6a561253
   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()