hgkw/keyword.py
changeset 715 0614ba0295f6
parent 714 1acf49264a06
child 730 bd1722740798
equal deleted inserted replaced
714:1acf49264a06 715:0614ba0295f6
   463             finally:
   463             finally:
   464                 del self.commitctx
   464                 del self.commitctx
   465 
   465 
   466         def kwcommitctx(self, ctx, error=False):
   466         def kwcommitctx(self, ctx, error=False):
   467             n = super(kwrepo, self).commitctx(ctx, error)
   467             n = super(kwrepo, self).commitctx(ctx, error)
       
   468             # no lock needed, only called from repo.commit() which already locks
   468             kwt.overwrite(n, True, None)
   469             kwt.overwrite(n, True, None)
   469             return n
   470             return n
   470 
   471 
   471     # monkeypatches
   472     # monkeypatches
   472     def kwpatchfile_init(orig, self, ui, fname, opener,
   473     def kwpatchfile_init(orig, self, ui, fname, opener,