== Relevant code in info.py == if working.bzrdir == branch.bzrdir: if working.bzrdir == repository.bzrdir: print 'location of working tree, branch and repository:' print ' %s' % working.bzrdir.root_transport.base else: print 'location of working tree and branch:' print ' %s' % working.bzrdir.root_transport.base print 'location of repository:' print ' %s' % repository.bzrdir.root_transport.base else: print 'location of working tree:' print ' %s' % working.bzrdir.root_transport.base if working.bzrdir == repository.bzrdir: print 'location of branch and repository:' print ' %s' % branch.bzrdir.root_transport.base else: print 'location of branch:' print ' %s' % branch.bzrdir.root_transport.base print 'location of repository:' print ' %s' % repository.bzrdir.root_transport.base print skip_line = False location = branch.get_parent() if location is not None: print 'parent location:' print ' %s' % location skip_line = True location = branch.get_push_location() if location is not None: print 'push location:' print ' %s' % location skip_line = True location = branch.get_bound_location() if location is not None: print 'bound to branch at location:' print ' %s' % location skip_line = True if skip_line: print if working_format == branch_format: if branch_format == repository_format: print 'working tree, branch and repository format: %s' % working_format else: print 'working tree and branch format: %s' % working_format print ' repository format: %s' % repository_format else: if branch_format == repository_format: print ' working tree format: %s' % working_format print 'branch and repository format: %s' % branch_format else: print 'working tree format: %s' % working_format print ' branch format: %s' % branch_format print ' repository format: %s' % repository_format == bzr info on a checkout (bound branch) == $ bzr info Checkout Root: /home/olaf/tmp/bzr/tree/normcheckout/ Checkout of: /home/olaf/tmp/bzr/repo/branch/ Branched from: http://bazaar-ng.org/bzr/bzr.dev working tree format: Bazaar-NG Working Tree format 3 branch format: Bazaar-NG branch format 5 repository format: Bazaar-NG Repository format 7 in the working tree: 1 unchanged 0 modified 0 added 0 removed 0 renamed 0 unknown 0 ignored 0 versioned subdirectories branch history: 1 revision 1 committer 1 day old first revision: Wed 2006-03-22 23:11:52 +0100 latest revision: Wed 2006-03-22 23:11:52 +0100 revision store: 1 revision 0 kB == bzr info on a lightweight checkout == $ bzr info location of working tree: /home/olaf/tmp/bzr/tree/lightcheckout/ location of branch: /home/olaf/tmp/bzr/repo/branch/ location of repository: /home/olaf/tmp/bzr/repo/ working tree format: Bazaar-NG Working Tree format 3 branch format: Bazaar-NG branch format 5 repository format: Bazaar-NG Repository format 7 in the working tree: 1 unchanged 0 modified 0 added 0 removed 0 renamed 0 unknown 0 ignored 0 versioned subdirectories branch history: 1 revision 1 committer 1 day old first revision: Wed 2006-03-22 23:11:52 +0100 latest revision: Wed 2006-03-22 23:11:52 +0100 revision store: 1 revision 0 kB == bzr info on a standalone branch == $ bzr info Branch Root: /home/olaf/tmp/bzr/tree/branch/ Branched From: http://bazaar-ng.org/bzr/bzr.dev working tree, branch and repository format: Bazaar-NG branch, format 6 in the working tree: 1 unchanged 0 modified 0 added 0 removed 0 renamed 0 unknown 0 ignored 0 versioned subdirectories branch history: 1 revision 1 committer 0 days old first revision: Fri 2006-03-24 12:26:40 +0100 latest revision: Fri 2006-03-24 12:26:40 +0100 revision store: 1 revision 0 kB == bzr info on a standalone branch with parent and push location == location of working tree, branch and repository: /home/olaf/tmp/bzr/tree/branch2/ parent location: /home/olaf/tmp/bzr/tree/branch/ push location: ../branch working tree, branch and repository format: Bazaar-NG branch, format 6 in the working tree: 1 unchanged 0 modified 0 added 0 removed 0 renamed 0 unknown 0 ignored 0 versioned subdirectories branch history: 1 revision 1 committer 0 days old first revision: Fri 2006-03-24 12:26:40 +0100 latest revision: Fri 2006-03-24 12:26:40 +0100 revision store: 1 revision 0 kB