mercurial/hgweb/webcommands.py
changeset 37993 623dc2651d26
parent 37954 9482498b96b0
child 38043 5989261a8356
equal deleted inserted replaced
37992:b3992c21b7f3 37993:623dc2651d26
   884     else:
   884     else:
   885         rightlines = ()
   885         rightlines = ()
   886         pfctx = ctx.parents()[0][path]
   886         pfctx = ctx.parents()[0][path]
   887         leftlines = filelines(pfctx)
   887         leftlines = filelines(pfctx)
   888 
   888 
   889     comparison = webutil.compare(web.tmpl, context, leftlines, rightlines)
   889     comparison = webutil.compare(context, leftlines, rightlines)
   890     if fctx is not None:
   890     if fctx is not None:
   891         rename = webutil.renamelink(fctx)
   891         rename = webutil.renamelink(fctx)
   892         ctx = fctx
   892         ctx = fctx
   893     else:
   893     else:
   894         rename = templateutil.mappinglist([])
   894         rename = templateutil.mappinglist([])