~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Aaron Bentley
  • Date: 2007-08-20 13:07:12 UTC
  • mfrom: (2732 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2733.
  • Revision ID: abentley@panoramicfeedback.com-20070820130712-buopmg528zcgwyxc
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
from bzrlib.lockable_files import LockableFiles
34
34
from bzrlib.revision import NULL_REVISION
35
35
from bzrlib.smart import client, vfs
 
36
from bzrlib.symbol_versioning import (
 
37
    deprecated_method,
 
38
    zero_ninetyone,
 
39
    )
36
40
from bzrlib.trace import note
37
41
 
38
42
# Note: RemoteBzrDirFormat is in bzrdir.py
797
801
        assert isinstance(a_bzrdir, RemoteBzrDir)
798
802
        return a_bzrdir.create_branch()
799
803
 
 
804
    def supports_tags(self):
 
805
        # Remote branches might support tags, but we won't know until we
 
806
        # access the real remote branch.
 
807
        return True
 
808
 
800
809
 
801
810
class RemoteBranch(branch.Branch):
802
811
    """Branch stored on a server accessed by HPSS RPC.
1070
1079
        return result
1071
1080
 
1072
1081
    @needs_write_lock
1073
 
    def append_revision(self, *revision_ids):
1074
 
        self._ensure_real()
1075
 
        return self._real_branch.append_revision(*revision_ids)
1076
 
 
1077
 
    @needs_write_lock
1078
1082
    def pull(self, source, overwrite=False, stop_revision=None,
1079
1083
             **kwargs):
1080
1084
        # FIXME: This asks the real branch to run the hooks, which means