/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Matthew Fuller
  • Date: 2007-06-06 10:54:10 UTC
  • mto: (2514.1.1 bzr.ab.integration)
  • mto: This revision was merged to the branch mainline in revision 2515.
  • Revision ID: fullermd@over-yonder.net-20070606105410-b7gb18p3qw8vrzk8
Default revision-info to the head of the branch when no revision is
given.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    osutils,
46
46
    registry,
47
47
    repository,
 
48
    revisionspec,
48
49
    symbol_versioning,
49
50
    transport,
50
51
    tree as _mod_tree,
304
305
        if revision_info_list is not None:
305
306
            for rev in revision_info_list:
306
307
                revs.append(RevisionSpec.from_string(rev))
 
308
 
 
309
        b = Branch.open_containing(u'.')[0]
 
310
 
307
311
        if len(revs) == 0:
308
 
            raise errors.BzrCommandError('You must supply a revision identifier')
309
 
 
310
 
        b = Branch.open_containing(u'.')[0]
 
312
            revs.append(RevisionSpec.from_string('-1'))
311
313
 
312
314
        for rev in revs:
313
315
            revinfo = rev.in_history(b)