~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Patch Queue Manager
  • Date: 2011-11-28 03:52:43 UTC
  • mfrom: (6305.1.1 fix-dotted-revno)
  • Revision ID: pqm@pqm.ubuntu.com-20111128035243-w2jbl870d8lq94v1
(jelmer) Fix fallback for RemoteBranch.revision_id_to_dotted_revno,
 and add a test. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3363
3363
                self._remote_path(), revision_id)
3364
3364
        except errors.UnknownSmartMethod:
3365
3365
            self._ensure_real()
3366
 
            return self._real_branch.revision_id_to_revno(revision_id)
 
3366
            return self._real_branch.revision_id_to_dotted_revno(revision_id)
3367
3367
        if response[0] == 'ok':
3368
3368
            return tuple([int(x) for x in response[1:]])
3369
3369
        else: