mercurial/wireproto.py
changeset 33223 d227451ee280
parent 33220 40861b2254a5
child 33224 ab9121fda8d2
equal deleted inserted replaced
33222:593ad8df9dd2 33223:d227451ee280
   840                 return ooberror(bundle2required)
   840                 return ooberror(bundle2required)
   841             raise error.Abort(bundle2requiredmain,
   841             raise error.Abort(bundle2requiredmain,
   842                               hint=bundle2requiredhint)
   842                               hint=bundle2requiredhint)
   843 
   843 
   844     try:
   844     try:
   845         if repo.ui.configbool('server', 'disablefullbundle', False):
   845         if repo.ui.configbool('server', 'disablefullbundle'):
   846             # Check to see if this is a full clone.
   846             # Check to see if this is a full clone.
   847             clheads = set(repo.changelog.heads())
   847             clheads = set(repo.changelog.heads())
   848             heads = set(opts.get('heads', set()))
   848             heads = set(opts.get('heads', set()))
   849             common = set(opts.get('common', set()))
   849             common = set(opts.get('common', set()))
   850             common.discard(nullid)
   850             common.discard(nullid)