hgext/largefiles/lfutil.py
changeset 18152 4454607b5d25
parent 18151 90ad387d9245
child 18153 51837a31b425
equal deleted inserted replaced
18151:90ad387d9245 18152:4454607b5d25
    44     return remove(list, unlink=unlink)
    44     return remove(list, unlink=unlink)
    45 
    45 
    46 def repoforget(repo, list):
    46 def repoforget(repo, list):
    47     forget = repo[None].forget
    47     forget = repo[None].forget
    48     return forget(list)
    48     return forget(list)
    49 
       
    50 def findoutgoing(repo, remote, force):
       
    51     from mercurial import discovery
       
    52     outgoing = discovery.findcommonoutgoing(repo, remote.peer(), force=force)
       
    53     return outgoing.missing
       
    54 
    49 
    55 # -- Private worker functions ------------------------------------------
    50 # -- Private worker functions ------------------------------------------
    56 
    51 
    57 def getminsize(ui, assumelfiles, opt, default=10):
    52 def getminsize(ui, assumelfiles, opt, default=10):
    58     lfsize = opt
    53     lfsize = opt