~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-31 04:14:04 UTC
  • mfrom: (2102.1.1 50793)
  • Revision ID: pqm@pqm.ubuntu.com-20061031041404-f1bf9db09d9ee5cf
(edward) fix #50793, no error for bzr log nonexistent

Show diffs side-by-side

added added

removed removed

Lines of Context:
1381
1381
                    # either no tree, or is remote.
1382
1382
                    inv = b.basis_tree().inventory
1383
1383
                file_id = inv.path2id(fp)
 
1384
                if file_id is None:
 
1385
                    raise errors.BzrCommandError(
 
1386
                        "Path does not have any revision history: %s" %
 
1387
                        location)
1384
1388
        else:
1385
1389
            # local dir only
1386
1390
            # FIXME ? log the current subdir only RBC 20060203