##// 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 msgfiles = _('files')
359 msgfiles = _('files')
360 for i, fname in enumerate(sorted(changedfiles)):
360 for i, fname in enumerate(sorted(changedfiles)):
361 filerevlog = repo.file(fname)
361 filerevlog = repo.file(fname)
362 if not len(filerevlog):
362 if not filerevlog:
363 raise util.Abort(_("empty or missing revlog for %s") % fname)
363 raise util.Abort(_("empty or missing revlog for %s") % fname)
364
364
365 if fastpathlinkrev:
365 if fastpathlinkrev:
@@ -1338,7 +1338,7 b' def _makegraphlogrevset(repo, pats, opts'
1338 raise util.Abort(_('cannot follow file not in parent '
1338 raise util.Abort(_('cannot follow file not in parent '
1339 'revision: "%s"') % f)
1339 'revision: "%s"') % f)
1340 filelog = repo.file(f)
1340 filelog = repo.file(f)
1341 if not len(filelog):
1341 if not filelog:
1342 # A zero count may be a directory or deleted file, so
1342 # A zero count may be a directory or deleted file, so
1343 # try to find matching entries on the slow path.
1343 # try to find matching entries on the slow path.
1344 if follow:
1344 if follow:
General Comments 0
You need to be logged in to leave comments. Login now