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

Add a test to cover bug #600628 and cleanup some

Show diffs side-by-side

added added

removed removed

Lines of Context:
492
492
            if not self.quiet:
493
493
                self.outf.write('Remote location already up to date\n')
494
494
 
495
 
        # XXX: errors out if rev_id not in branch history (probably someone
496
 
        # uploaded from a different branch).
497
495
        from_tree = self.branch.repository.revision_tree(rev_id)
498
496
        self.to_transport.ensure_base() # XXX: Handle errors (add
499
497
                                        # --create-prefix option ?)
658
656
            if location is None:
659
657
                stored_loc = get_upload_location(branch)
660
658
                if stored_loc is None:
661
 
                    raise errors.BzrCommandError('No upload location'
662
 
                                                 ' known or specified.')
 
659
                    raise errors.BzrCommandError(
 
660
                        'No upload location known or specified.')
663
661
                else:
664
662
                    # FIXME: Not currently tested
665
663
                    display_url = urlutils.unescape_for_display(stored_loc,