mercurial/commands.py
changeset 1044 4bfa960f8d2a
parent 1042 23f9d71ab9ae
child 1046 772507daaa17
equal deleted inserted replaced
1043:9344f5dd4488 1044:4bfa960f8d2a
   865         wanted = dict(zip(revs, revs))
   865         wanted = dict(zip(revs, revs))
   866     if not slowpath:
   866     if not slowpath:
   867         # Only files, no patterns.  Check the history of each file.
   867         # Only files, no patterns.  Check the history of each file.
   868         def filerevgen(filelog):
   868         def filerevgen(filelog):
   869             for i in xrange(filelog.count() - 1, -1, -window):
   869             for i in xrange(filelog.count() - 1, -1, -window):
   870                 print "filelog"
       
   871                 revs = []
   870                 revs = []
   872                 for j in xrange(max(0, i - window), i + 1):
   871                 for j in xrange(max(0, i - window), i + 1):
   873                     revs.append(filelog.linkrev(filelog.node(j)))
   872                     revs.append(filelog.linkrev(filelog.node(j)))
   874                 revs.reverse()
   873                 revs.reverse()
   875                 for rev in revs:
   874                 for rev in revs: