hgext/largefiles/lfutil.py
changeset 28877 8079639b20dc
parent 28576 33bd95443e7f
child 29309 bfc1052570b6
child 29329 f359cdc91e21
equal deleted inserted replaced
28876:79b8f052ee51 28877:8079639b20dc
   484 
   484 
   485 def getlfilestoupload(repo, missing, addfunc):
   485 def getlfilestoupload(repo, missing, addfunc):
   486     for i, n in enumerate(missing):
   486     for i, n in enumerate(missing):
   487         repo.ui.progress(_('finding outgoing largefiles'), i,
   487         repo.ui.progress(_('finding outgoing largefiles'), i,
   488             unit=_('revisions'), total=len(missing))
   488             unit=_('revisions'), total=len(missing))
   489         parents = [p for p in repo.changelog.parents(n) if p != node.nullid]
   489         parents = [p for p in repo[n].parents() if p != node.nullid]
   490 
   490 
   491         oldlfstatus = repo.lfstatus
   491         oldlfstatus = repo.lfstatus
   492         repo.lfstatus = False
   492         repo.lfstatus = False
   493         try:
   493         try:
   494             ctx = repo[n]
   494             ctx = repo[n]