##// END OF EJS Templates
changegroup: don't fail on empty changegroup (API)...
Martin von Zweigbergk -
r33309:69c4493a default
parent child Browse files
Show More
@@ -298,7 +298,8 b' class cg1unpacker(object):'
298 efiles = len(efiles)
298 efiles = len(efiles)
299
299
300 if not cgnodes:
300 if not cgnodes:
301 raise error.Abort(_("received changelog group is empty"))
301 repo.ui.develwarn('applied empty changegroup',
302 config='empty-changegroup')
302 clend = len(cl)
303 clend = len(cl)
303 changesets = clend - clstart
304 changesets = clend - clstart
304 repo.ui.progress(_('changesets'), None)
305 repo.ui.progress(_('changesets'), None)
General Comments 0
You need to be logged in to leave comments. Login now