hgext/largefiles/overrides.py
changeset 31043 aea06029919e
parent 30215 438173c41587
child 31116 b44ab288358e
equal deleted inserted replaced
31042:705ecab649ea 31043:aea06029919e
    20     error,
    20     error,
    21     hg,
    21     hg,
    22     match as matchmod,
    22     match as matchmod,
    23     pathutil,
    23     pathutil,
    24     registrar,
    24     registrar,
    25     revset,
       
    26     scmutil,
    25     scmutil,
       
    26     smartset,
    27     util,
    27     util,
    28 )
    28 )
    29 
    29 
    30 from . import (
    30 from . import (
    31     lfcommands,
    31     lfcommands,
   853 
   853 
   854     try:
   854     try:
   855         firstpulled = repo.firstpulled
   855         firstpulled = repo.firstpulled
   856     except AttributeError:
   856     except AttributeError:
   857         raise error.Abort(_("pulled() only available in --lfrev"))
   857         raise error.Abort(_("pulled() only available in --lfrev"))
   858     return revset.baseset([r for r in subset if r >= firstpulled])
   858     return smartset.baseset([r for r in subset if r >= firstpulled])
   859 
   859 
   860 def overrideclone(orig, ui, source, dest=None, **opts):
   860 def overrideclone(orig, ui, source, dest=None, **opts):
   861     d = dest
   861     d = dest
   862     if d is None:
   862     if d is None:
   863         d = hg.defaultdest(source)
   863         d = hg.defaultdest(source)