mercurial/hgweb/webcommands.py
changeset 40407 3d76a8e627a6
parent 40295 fa88170c10bb
child 40936 e06719b7544d
equal deleted inserted replaced
40403:bf249bb60087 40407:3d76a8e627a6
  1214         raise error.ProgrammingError('sendresponse() should not emit data '
  1214         raise error.ProgrammingError('sendresponse() should not emit data '
  1215                                      'if writing later')
  1215                                      'if writing later')
  1216 
  1216 
  1217     bodyfh = web.res.getbodyfile()
  1217     bodyfh = web.res.getbodyfile()
  1218 
  1218 
  1219     archival.archive(web.repo, bodyfh, cnode, artype, prefix=name,
  1219     archival.archive(web.repo, bodyfh, cnode, artype, prefix=name, match=match,
  1220                      matchfn=match,
       
  1221                      subrepos=web.configbool("web", "archivesubrepos"))
  1220                      subrepos=web.configbool("web", "archivesubrepos"))
  1222 
  1221 
  1223     return []
  1222     return []
  1224 
  1223 
  1225 @webcommand('static')
  1224 @webcommand('static')