Show More
@@ -245,7 +245,14 b' def _verify(repo):' | |||
|
245 | 245 | rp = fl.renamed(n) |
|
246 | 246 | if rp: |
|
247 | 247 | fl2 = repo.file(rp[0]) |
|
248 |
|
|
|
248 | if fl2.count() == 0: | |
|
249 | err(flr, _("empty or missing copy source revlog %s:%s") | |
|
250 | % (rp[0], short(rp[1])), f) | |
|
251 | elif rp[1] == nullid: | |
|
252 | err(flr, _("copy source revision is nullid %s:%s") | |
|
253 | % (rp[0], short(rp[1])), f) | |
|
254 | else: | |
|
255 | rev = fl2.rev(rp[1]) | |
|
249 | 256 | except KeyboardInterrupt: |
|
250 | 257 | repo.ui.warn(_("interrupted")) |
|
251 | 258 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now