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

  • Committer: Jelmer Vernooij
  • Date: 2011-05-18 10:24:05 UTC
  • mfrom: (5889 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5903.
  • Revision ID: jelmer@samba.org-20110518102405-isallt5uet1afh4f
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    static_tuple,
33
33
    symbol_versioning,
34
34
    urlutils,
 
35
    versionedfile,
35
36
    vf_repository,
36
37
    )
37
38
from bzrlib.branch import BranchReferenceFormat, BranchWriteLockResult
1136
1137
        return RemoteStreamSource(self, to_format)
1137
1138
 
1138
1139
    @needs_read_lock
 
1140
    def get_file_graph(self):
 
1141
        return graph.Graph(self.texts)
 
1142
 
 
1143
    @needs_read_lock
1139
1144
    def has_revision(self, revision_id):
1140
1145
        """True if this repository has a copy of the revision."""
1141
1146
        # Copy of bzrlib.repository.Repository.has_revision
2991
2996
            _override_hook_target=self, **kwargs)
2992
2997
 
2993
2998
    @needs_read_lock
2994
 
    def push(self, target, overwrite=False, stop_revision=None):
 
2999
    def push(self, target, overwrite=False, stop_revision=None, lossy=False):
2995
3000
        self._ensure_real()
2996
3001
        return self._real_branch.push(
2997
 
            target, overwrite=overwrite, stop_revision=stop_revision,
 
3002
            target, overwrite=overwrite, stop_revision=stop_revision, lossy=lossy,
2998
3003
            _override_hook_source_branch=self)
2999
3004
 
3000
3005
    def is_locked(self):