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

  • Committer: Martin Pool
  • Date: 2008-09-15 06:28:27 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-20080915062827-idpp07pfwchedixn
Add Branch.get_stacked_on_url rpc and tests for same

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
        return SuccessfulSmartServerResponse( ('ok', ), content)
93
93
 
94
94
 
 
95
class SmartServerBranchRequestGetStackedOnURL(SmartServerBranchRequest):
 
96
 
 
97
    def do_with_branch(self, branch):
 
98
        stacked_on_url = branch.get_stacked_on_url()
 
99
        return SuccessfulSmartServerResponse(('ok', stacked_on_url))
 
100
 
 
101
 
95
102
class SmartServerRequestRevisionHistory(SmartServerBranchRequest):
96
103
 
97
104
    def do_with_branch(self, branch):