~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4409.1.14.

  • Committer: Matthew Fuller
  • Date: 2009-06-22 09:28:01 UTC
  • mto: (4493.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4496.
  • Revision ID: fullermd@over-yonder.net-20090622092801-db6pu261ioxj4qjb
open_containing() for the non-tree variant of bzr revno.

The existing code would fail, since Branch.open() doesn't return
something you'd want to grab the [0] of.  I choose open_containing()
rather than eliminating the subscript because I think that pointing at
a subdir [which isn't part of the versioned WT obviously] of a
treeless branch should be valid.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: