##// END OF EJS Templates
rollback: always call destroyed() (regression from 1.9)...
Greg Ward -
r15604:b8d85994 stable
parent child Browse files
Show More
@@ -820,7 +820,6 b' class localrepository(repo.repository):'
820 % self.dirstate.branch())
820 % self.dirstate.branch())
821
821
822 self.dirstate.invalidate()
822 self.dirstate.invalidate()
823 self.destroyed()
824 parents = tuple([p.rev() for p in self.parents()])
823 parents = tuple([p.rev() for p in self.parents()])
825 if len(parents) > 1:
824 if len(parents) > 1:
826 ui.status(_('working directory now based on '
825 ui.status(_('working directory now based on '
@@ -828,6 +827,7 b' class localrepository(repo.repository):'
828 else:
827 else:
829 ui.status(_('working directory now based on '
828 ui.status(_('working directory now based on '
830 'revision %d\n') % parents)
829 'revision %d\n') % parents)
830 self.destroyed()
831 return 0
831 return 0
832
832
833 def invalidatecaches(self):
833 def invalidatecaches(self):
General Comments 0
You need to be logged in to leave comments. Login now