equal
deleted
inserted
replaced
1311 matcher=None, ellipses=False, shallow=False, |
1311 matcher=None, ellipses=False, shallow=False, |
1312 ellipsisroots=None, fullnodes=None): |
1312 ellipsisroots=None, fullnodes=None): |
1313 assert version in supportedoutgoingversions(repo) |
1313 assert version in supportedoutgoingversions(repo) |
1314 |
1314 |
1315 if matcher is None: |
1315 if matcher is None: |
1316 matcher = matchmod.always(repo.root, '') |
1316 matcher = matchmod.always() |
1317 if oldmatcher is None: |
1317 if oldmatcher is None: |
1318 oldmatcher = matchmod.never(repo.root, '') |
1318 oldmatcher = matchmod.never() |
1319 |
1319 |
1320 if version == '01' and not matcher.always(): |
1320 if version == '01' and not matcher.always(): |
1321 raise error.ProgrammingError('version 01 changegroups do not support ' |
1321 raise error.ProgrammingError('version 01 changegroups do not support ' |
1322 'sparse file matchers') |
1322 'sparse file matchers') |
1323 |
1323 |