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