##// END OF EJS Templates
filelog: switch 'not len(filerevlog)' to 'not filerevlog'...
Durham Goode -
r19293:446ab88d default
parent child Browse files
Show More
@@ -359,7 +359,7 b' class bundle10(object):'
359 359 msgfiles = _('files')
360 360 for i, fname in enumerate(sorted(changedfiles)):
361 361 filerevlog = repo.file(fname)
362 if not len(filerevlog):
362 if not filerevlog:
363 363 raise util.Abort(_("empty or missing revlog for %s") % fname)
364 364
365 365 if fastpathlinkrev:
@@ -1338,7 +1338,7 b' def _makegraphlogrevset(repo, pats, opts'
1338 1338 raise util.Abort(_('cannot follow file not in parent '
1339 1339 'revision: "%s"') % f)
1340 1340 filelog = repo.file(f)
1341 if not len(filelog):
1341 if not filelog:
1342 1342 # A zero count may be a directory or deleted file, so
1343 1343 # try to find matching entries on the slow path.
1344 1344 if follow:
General Comments 0
You need to be logged in to leave comments. Login now