equal
deleted
inserted
replaced
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) |