/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

merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
363
363
            return None
364
364
        if history is None:
365
365
            history = self.revision_history()
366
 
        elif revno <= 0 or revno > len(history):
 
366
        if revno <= 0 or revno > len(history):
367
367
            raise bzrlib.errors.NoSuchRevision(self, revno)
368
368
        return history[revno - 1]
369
369
 
1248
1248
                        "use bzrlib.urlutils.escape")
1249
1249
                    
1250
1250
            url = urlutils.relative_url(self.base, url)
1251
 
            self.control_files.put('parent', url + '\n')
 
1251
            self.control_files.put('parent', StringIO(url + '\n'))
1252
1252
 
1253
1253
    @deprecated_function(zero_nine)
1254
1254
    def tree_config(self):