Show More
@@ -1710,6 +1710,8 b' class localrepository(repo.repository):' | |||||
1710 | # Go through all our files in order sorted by name. |
|
1710 | # Go through all our files in order sorted by name. | |
1711 | for fname in changedfiles: |
|
1711 | for fname in changedfiles: | |
1712 | filerevlog = self.file(fname) |
|
1712 | filerevlog = self.file(fname) | |
|
1713 | if filerevlog.count() == 0: | |||
|
1714 | raise util.abort(_("empty or missing revlog for %s") % fname) | |||
1713 | # Toss out the filenodes that the recipient isn't really |
|
1715 | # Toss out the filenodes that the recipient isn't really | |
1714 | # missing. |
|
1716 | # missing. | |
1715 | if msng_filenode_set.has_key(fname): |
|
1717 | if msng_filenode_set.has_key(fname): | |
@@ -1794,6 +1796,8 b' class localrepository(repo.repository):' | |||||
1794 |
|
1796 | |||
1795 | for fname in changedfiles: |
|
1797 | for fname in changedfiles: | |
1796 | filerevlog = self.file(fname) |
|
1798 | filerevlog = self.file(fname) | |
|
1799 | if filerevlog.count() == 0: | |||
|
1800 | raise util.abort(_("empty or missing revlog for %s") % fname) | |||
1797 | nodeiter = gennodelst(filerevlog) |
|
1801 | nodeiter = gennodelst(filerevlog) | |
1798 | nodeiter = list(nodeiter) |
|
1802 | nodeiter = list(nodeiter) | |
1799 | if nodeiter: |
|
1803 | if nodeiter: |
General Comments 0
You need to be logged in to leave comments.
Login now