/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/branch.py

  • Committer: Aaron Bentley
  • Date: 2007-01-16 13:12:54 UTC
  • mto: (2230.3.47 branch6)
  • mto: This revision was merged to the branch mainline in revision 2290.
  • Revision ID: aaron.bentley@utoronto.ca-20070116131254-sjruli93timappd4
work in progress bind stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
957
957
BranchFormat.register_format(__default_format)
958
958
BranchFormat.register_format(BranchReferenceFormat())
959
959
BranchFormat.register_format(BzrBranchFormat6())
960
 
BranchFormat.set_default_format(__default_format)
 
960
BranchFormat.set_default_format(BzrBranchFormat6())
961
961
_legacy_formats = [BzrBranchFormat4(),
962
962
                   ]
963
963
 
1518
1518
 
1519
1519
    def set_bound_location(self, location):
1520
1520
        """See Branch.set_push_location."""
 
1521
        if location is None:
 
1522
            location = ''
1521
1523
        self.get_config().set_user_option('bound_location', location)
1522
1524
 
1523
1525
    def get_bound_location(self):
1524
1526
        """See Branch.set_push_location."""
1525
 
        return self.get_config().get_user_option('bound_location')
 
1527
        location = self.get_config().get_user_option('bound_location')
 
1528
        if location == '':
 
1529
            location = None
 
1530
        return location
1526
1531
 
1527
1532
 
1528
1533
class BranchTestProviderAdapter(object):