##// END OF EJS Templates
localrepo: drop unnecessary check on wlock unlock...
Idan Kamara -
r18318:948f495f default
parent child Browse files
Show More
@@ -1033,9 +1033,7 b' class localrepository(object):'
1033
1033
1034 def unlock():
1034 def unlock():
1035 self.dirstate.write()
1035 self.dirstate.write()
1036 ce = self._filecache.get('dirstate')
1036 self._filecache['dirstate'].refresh()
1037 if ce:
1038 ce.refresh()
1039
1037
1040 l = self._lock(self.join("wlock"), wait, unlock,
1038 l = self._lock(self.join("wlock"), wait, unlock,
1041 self.invalidatedirstate, _('working directory of %s') %
1039 self.invalidatedirstate, _('working directory of %s') %
General Comments 0
You need to be logged in to leave comments. Login now