/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/smart/repository.py

merge trailing whitespace removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
    def do(self, path, *args):
43
43
        """Execute a repository request.
44
 
        
 
44
 
45
45
        All Repository requests take a path to the repository as their first
46
46
        argument.  The repository must be at the exact path given by the
47
47
        client - no searching is done.
106
106
 
107
107
class SmartServerRepositoryGetParentMap(SmartServerRepositoryRequest):
108
108
    """Bzr 1.2+ - get parent data for revisions during a graph search."""
109
 
    
 
109
 
110
110
    def do_repository_request(self, repository, *revision_ids):
111
111
        """Get parent details for some revisions.
112
 
        
 
112
 
113
113
        All the parents for revision_ids are returned. Additionally up to 64KB
114
114
        of additional parent data found by performing a breadth first search
115
115
        from revision_ids is returned. The verb takes a body containing the
191
191
 
192
192
 
193
193
class SmartServerRepositoryGetRevisionGraph(SmartServerRepositoryReadLocked):
194
 
    
 
194
 
195
195
    def do_readlocked_repository_request(self, repository, revision_id):
196
196
        """Return the result of repository.get_revision_graph(revision_id).
197
197
 
198
198
        Deprecated as of bzr 1.4, but supported for older clients.
199
 
        
 
199
 
200
200
        :param repository: The repository to query in.
201
201
        :param revision_id: The utf8 encoded revision_id to get a graph from.
202
202
        :return: A smart server response where the body contains an utf8
341
341
 
342
342
    The returned tarball contains a .bzr control directory which in turn
343
343
    contains a repository.
344
 
    
345
 
    This takes one parameter, compression, which currently must be 
 
344
 
 
345
    This takes one parameter, compression, which currently must be
346
346
    "", "gz", or "bz2".
347
347
 
348
348
    This is used to implement the Repository.copy_content_into operation.