2438
2438
raise errors.BzrCommandError(
2439
2439
"bzr %s doesn't accept two revisions in different"
2440
2440
" branches." % command_name)
2442
2446
# Avoid loading all of history when we know a missing
2443
2447
# end of range means the last revision ...
2444
2448
if end_spec.spec is None: