~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.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:
301
301
        self._write_inventory(inv)
302
302
 
303
303
 
 
304
    def print_file(self, file, revno):
 
305
        """Print `file` to stdout."""
 
306
        tree = self.revision_tree(self.lookup_revision(revno))
 
307
        tree.print_file(self.inventory.path2id(file))
 
308
        
304
309
 
305
310
    def remove(self, files, verbose=False):
306
311
        """Mark nominated files for removal from the inventory.