Show More
@@ -743,7 +743,7 b' class revlog(object):' | |||||
743 | #track the base of the current delta log |
|
743 | #track the base of the current delta log | |
744 | r = self.count() |
|
744 | r = self.count() | |
745 | t = r - 1 |
|
745 | t = r - 1 | |
746 |
node = |
|
746 | node = None | |
747 |
|
747 | |||
748 | base = prev = -1 |
|
748 | base = prev = -1 | |
749 | start = end = measure = 0 |
|
749 | start = end = measure = 0 | |
@@ -816,6 +816,8 b' class revlog(object):' | |||||
816 |
|
816 | |||
817 | dfh.close() |
|
817 | dfh.close() | |
818 | ifh.close() |
|
818 | ifh.close() | |
|
819 | if node is None: | |||
|
820 | raise RevlogError(_("group to be added is empty")) | |||
819 | return node |
|
821 | return node | |
820 |
|
822 | |||
821 | def strip(self, rev, minlink): |
|
823 | def strip(self, rev, minlink): |
General Comments 0
You need to be logged in to leave comments.
Login now