~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Aaron Bentley
  • Date: 2006-08-03 14:27:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1934.
  • Revision ID: abentley@panoramicfeedback.com-20060803142738-c25a7730d8a16b1a
Fix a bunch of test cases that assumed --merge-type or log-format

Show diffs side-by-side

added added

removed removed

Lines of Context:
1090
1090
    def run(self, location, repository_format=None, trees=False):
1091
1091
        if repository_format is None:
1092
1092
            repository_format = get_format_type('default')
1093
 
        transport = get_transport(location)
1094
1093
        to_transport = transport.get_transport(location)
1095
1094
        try:
1096
1095
            to_transport.mkdir('.')
1097
1096
        except errors.FileExists:
1098
1097
            pass
1099
1098
 
1100
 
        newdir = format.initialize_on_transport(to_transport)
 
1099
        newdir = repository_format.initialize_on_transport(to_transport)
1101
1100
        repo = newdir.create_repository(shared=True)
1102
1101
        repo.set_make_working_trees(trees)
1103
1102
 
2480
2479
 
2481
2480
class cmd_testament(Command):
2482
2481
    """Show testament (signing-form) of a revision."""
2483
 
    takes_options = ['revision', 'long', 
 
2482
    takes_options = ['revision', 
 
2483
                     Option('long', help='Produce long-format testament'), 
2484
2484
                     Option('strict', help='Produce a strict-format'
2485
2485
                            ' testament')]
2486
2486
    takes_args = ['branch?']