/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: Martin Pool
  • Date: 2008-09-15 14:27:19 UTC
  • mto: (3697.2.6 261315-into-1.7)
  • mto: This revision was merged to the branch mainline in revision 3710.
  • Revision ID: mbp@sourcefrog.net-20080915142719-60n7juikbylf89qx
Add test for coping without Branch.get_stacked_on_url

Show diffs side-by-side

added added

removed removed

Lines of Context:
2169
2169
        return self._get_bound_location(False)
2170
2170
 
2171
2171
    def get_stacked_on_url(self):
2172
 
        self._check_stackable_repo()
 
2172
        # you can always ask for the URL; but you might not be able to use it
 
2173
        # if the repo can't support stacking.
 
2174
        ## self._check_stackable_repo()
2173
2175
        stacked_url = self._get_config_location('stacked_on_location')
2174
2176
        if stacked_url is None:
2175
2177
            raise errors.NotStacked(self)