mercurial/changegroup.py
changeset 43117 8ff1ecfadcd1
parent 43106 d783f945a701
child 43132 8f807a83d53b
equal deleted inserted replaced
43116:defabf63e969 43117:8ff1ecfadcd1
  1549     if oldmatcher is None:
  1549     if oldmatcher is None:
  1550         oldmatcher = matchmod.never()
  1550         oldmatcher = matchmod.never()
  1551 
  1551 
  1552     if version == b'01' and not matcher.always():
  1552     if version == b'01' and not matcher.always():
  1553         raise error.ProgrammingError(
  1553         raise error.ProgrammingError(
  1554             b'version 01 changegroups do not support ' b'sparse file matchers'
  1554             b'version 01 changegroups do not support sparse file matchers'
  1555         )
  1555         )
  1556 
  1556 
  1557     if ellipses and version in (b'01', b'02'):
  1557     if ellipses and version in (b'01', b'02'):
  1558         raise error.Abort(
  1558         raise error.Abort(
  1559             _(
  1559             _(