comparison mercurial/cmdutil.py @ 11634:09147c065711

cmdutils: fix code style
author Martin Geisler <mg@aragost.com>
date Wed, 21 Jul 2010 09:43:45 +0200
parents f418d2570920
children 4da35e02b67c
comparison
equal deleted inserted replaced
11633:6b7b99867ada 11634:09147c065711
1061 minrev, maxrev = min(revs), max(revs) 1061 minrev, maxrev = min(revs), max(revs)
1062 # Only files, no patterns. Check the history of each file. 1062 # Only files, no patterns. Check the history of each file.
1063 def filerevgen(filelog, last): 1063 def filerevgen(filelog, last):
1064 cl_count = len(repo) 1064 cl_count = len(repo)
1065 revs = [] 1065 revs = []
1066 for j in xrange(0, last+1): 1066 for j in xrange(0, last + 1):
1067 linkrev = filelog.linkrev(j) 1067 linkrev = filelog.linkrev(j)
1068 if linkrev < minrev: 1068 if linkrev < minrev:
1069 continue 1069 continue
1070 # only yield rev for which we have the changelog, it can 1070 # only yield rev for which we have the changelog, it can
1071 # happen while doing "hg log" during a pull or commit 1071 # happen while doing "hg log" during a pull or commit