mercurial/changegroup.py
changeset 23895 cda18ded2c48
parent 23890 7817059917d0
child 23896 becfecaf9087
equal deleted inserted replaced
23894:f388ceae2250 23895:cda18ded2c48
    77 }
    77 }
    78 
    78 
    79 # hgweb uses this list to communicate its preferred type
    79 # hgweb uses this list to communicate its preferred type
    80 bundlepriority = ['HG10GZ', 'HG10BZ', 'HG10UN']
    80 bundlepriority = ['HG10GZ', 'HG10BZ', 'HG10UN']
    81 
    81 
    82 def writebundle(cg, filename, bundletype, vfs=None):
    82 def writebundle(ui, cg, filename, bundletype, vfs=None):
    83     """Write a bundle file and return its filename.
    83     """Write a bundle file and return its filename.
    84 
    84 
    85     Existing files will not be overwritten.
    85     Existing files will not be overwritten.
    86     If no filename is specified, a temporary file is created.
    86     If no filename is specified, a temporary file is created.
    87     bz2 compression can be turned off.
    87     bz2 compression can be turned off.