~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: John Arbash Meinel
  • Date: 2007-04-24 19:40:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2452.
  • Revision ID: john@arbash-meinel.com-20070424194013-zjckbpsbq7vff1wh
Move functions from BzrBranch to base Branch object.
Fix RemoteBranch to properly clear its cache at the right time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
901
901
            rev_id = 'null:'
902
902
        else:
903
903
            rev_id = rev_history[-1]
 
904
        self._clear_cached_state()
904
905
        response = self._client.call('Branch.set_last_revision',
905
906
            path, self._lock_token, self._repo_lock_token, rev_id)
906
907
        if response[0] == 'NoSuchRevision':