/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: wang
  • Date: 2006-10-30 14:56:33 UTC
  • mto: (2102.1.1 50793)
  • mto: This revision was merged to the branch mainline in revision 2103.
  • Revision ID: wang@ubuntu-20061030145633-28f9d624effbc451
Running ``bzr log`` on nonexistent file gives an error instead of the
entire log history. (bug #50793)

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