~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Martin Pool
  • Date: 2005-09-15 09:04:42 UTC
  • Revision ID: mbp@sourcefrog.net-20050915090442-9e275651a49cf626
- add function-style synonym 'fetch'

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    return f.count_copied, f.failed_revisions
65
65
 
66
66
 
 
67
 
67
68
class Fetcher(object):
68
69
    """Pull revisions and texts from one branch to another.
69
70
 
221
222
        to_weave.add(rev_id, to_parents, text_lines)
222
223
        self.to_weaves.put_weave(file_id, to_weave)
223
224
        self.count_texts += 1
 
225
 
 
226
 
 
227
fetch = Fetcher