##// END OF EJS Templates
Allow interrupting all parts of verify
Matt Mackall -
r1492:5f0522d3 default
parent child Browse files
Show More
@@ -1618,6 +1618,9 b' class localrepository:'
1618 (short(n), short(p)))
1618 (short(n), short(p)))
1619 try:
1619 try:
1620 changes = self.changelog.read(n)
1620 changes = self.changelog.read(n)
1621 except KeyboardInterrupt:
1622 self.ui.warn(_("interrupted"))
1623 raise
1621 except Exception, inst:
1624 except Exception, inst:
1622 err(_("unpacking changeset %s: %s") % (short(n), inst))
1625 err(_("unpacking changeset %s: %s") % (short(n), inst))
1623
1626
@@ -1705,6 +1708,9 b' class localrepository:'
1705 # verify contents
1708 # verify contents
1706 try:
1709 try:
1707 t = fl.read(n)
1710 t = fl.read(n)
1711 except KeyboardInterrupt:
1712 self.ui.warn(_("interrupted"))
1713 raise
1708 except Exception, inst:
1714 except Exception, inst:
1709 err(_("unpacking file %s %s: %s") % (f, short(n), inst))
1715 err(_("unpacking file %s %s: %s") % (f, short(n), inst))
1710
1716
General Comments 0
You need to be logged in to leave comments. Login now