mercurial/debugcommands.py
changeset 35730 05d415790761
parent 35728 22a877215ea1
child 35888 c8e2d6ed1f9e
equal deleted inserted replaced
35729:7415cc923613 35730:05d415790761
   795 
   795 
   796 @command('debugdownload',
   796 @command('debugdownload',
   797     [
   797     [
   798         ('o', 'output', '', _('path')),
   798         ('o', 'output', '', _('path')),
   799     ],
   799     ],
   800     norepo=True)
   800     optionalrepo=True)
   801 def debugdownload(ui, url, output=None, **opts):
   801 def debugdownload(ui, repo, url, output=None, **opts):
   802     """download a resource using Mercurial logic and config
   802     """download a resource using Mercurial logic and config
   803     """
   803     """
   804     fh = urlmod.open(ui, url, output)
   804     fh = urlmod.open(ui, url, output)
   805 
   805 
   806     dest = ui
   806     dest = ui