/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 breezy/git/remote.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-09-13 12:30:11 UTC
  • mfrom: (7104.2.1 more-git-errors)
  • Revision ID: breezy.the.bot@gmail.com-20180913123011-e2g5v3in9p1m9nin
Handle the Launchpad way of saying "Repository not found".

Merged from https://code.launchpad.net/~jelmer/brz/more-git-errors/+merge/354801

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
    """
195
195
    message = str(message).strip()
196
196
    if (message.startswith("Could not find Repository ") or
197
 
        message == 'Repository not found.'):
 
197
        message == 'Repository not found.' or
 
198
        (message.startswith('Repository ') and message.endswith(' not found.'))):
198
199
        return NotBranchError(url, message)
199
200
    if message == "HEAD failed to update":
200
201
        base_url, _ = urlutils.split_segment_parameters(url)