~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzr.py

  • Committer: Martin Pool
  • Date: 2005-03-13 05:28:56 UTC
  • Revision ID: mbp@sourcefrog.net-20050313052856-3edd84094687cb11
remove dead commands

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
    Branch('.').get_revision(revision_id).write_xml(sys.stdout)
142
142
 
143
143
 
144
 
def cmd_get_inventory(inventory_id):
145
 
    """Return inventory in XML by hash"""
146
 
    Branch('.').get_inventory(inventory_hash).write_xml(sys.stdout)
147
 
 
148
 
 
149
 
def cmd_get_revision_inventory(revision_id):
150
 
    """Output inventory for a revision."""
151
 
    b = Branch('.')
152
 
    b.get_revision_inventory(revision_id).write_xml(sys.stdout)
153
 
 
154
 
 
155
144
def cmd_get_file_text(text_id):
156
145
    """Get contents of a file by hash."""
157
146
    sf = Branch('.').text_store[text_id]