##// END OF EJS Templates
hg: fix error after reformat
super-admin -
r1156:b901c06f default
parent child Browse files
Show More
@@ -566,11 +566,12 b' class HgRemote(RemoteBase):'
566
566
567 def history_iter():
567 def history_iter():
568 limit_rev = fctx.rev()
568 limit_rev = fctx.rev()
569
569 for fctx_candidate in reversed(list(fctx.filelog())):
570 for fctx_candidate in reversed(list(fctx.filelog())):
570 f_obj = fctx.filectx(fctx_candidate)
571 f_obj = fctx.filectx(fctx_candidate)
571
572
572 # NOTE: This can be problematic...we can hide ONLY history node resulting in empty history
573 # NOTE: This can be problematic...we can hide ONLY history node resulting in empty history
573 _ctx = obj.changectx()
574 _ctx = f_obj.changectx()
574 if _ctx.hidden() or _ctx.obsolete():
575 if _ctx.hidden() or _ctx.obsolete():
575 continue
576 continue
576
577
General Comments 0
You need to be logged in to leave comments. Login now