~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: mbp at sourcefrog
  • Date: 2005-04-06 02:05:46 UTC
  • Revision ID: mbp@sourcefrog.net-20050406020546-479d86af7ad5607439f7fb33
New cat command contributed by janmar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                     "store is probably damaged/corrupt"])
93
93
 
94
94
 
95
 
    def export(self, dest):
 
95
    def print_file(self, fileid):
 
96
        """Print file with id `fileid` to stdout."""
 
97
        import sys
 
98
        pumpfile(self.get_file(fileid), sys.stdout)
 
99
        
 
100
        
 
101
    def export(self, dest):        
96
102
        """Export this tree to a new directory.
97
103
 
98
104
        `dest` should not exist, and will be created holding the