##// END OF EJS Templates
checkheads: drop now unused filtering of 'unsyncedheads'...
marmoute -
r32674:7a7c4f3a default
parent child Browse files
Show More
@@ -355,16 +355,15 b' def checkheads(pushop):'
355 355 allfuturecommon,
356 356 newheads)
357 357 newhs.update(unsyncedheads)
358 unsynced = sorted(h for h in unsyncedheads if h not in discardedheads)
359 if unsynced:
360 if None in unsynced:
358 if unsyncedheads:
359 if None in unsyncedheads:
361 360 # old remote, no heads data
362 361 heads = None
363 elif len(unsynced) <= 4 or repo.ui.verbose:
364 heads = ' '.join(short(h) for h in unsynced)
362 elif len(unsyncedheads) <= 4 or repo.ui.verbose:
363 heads = ' '.join(short(h) for h in unsyncedheads)
365 364 else:
366 heads = (' '.join(short(h) for h in unsynced[:4]) +
367 ' ' + _("and %s others") % (len(unsynced) - 4))
365 heads = (' '.join(short(h) for h in unsyncedheads[:4]) +
366 ' ' + _("and %s others") % (len(unsyncedheads) - 4))
368 367 if heads is None:
369 368 repo.ui.status(_("remote has heads that are "
370 369 "not known locally\n"))
General Comments 0
You need to be logged in to leave comments. Login now