/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/info.py

  • Committer: Jelmer Vernooij
  • Date: 2009-02-25 14:36:59 UTC
  • mfrom: (4048 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4049.
  • Revision ID: jelmer@samba.org-20090225143659-vx6cbqtmyicuzfyf
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright (C) 2005, 2006, 2007 Canonical Ltd
2
 
 
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
5
5
# the Free Software Foundation; either version 2 of the License, or
261
261
 
262
262
    dir_cnt = 0
263
263
    for file_id in work_inv:
264
 
        if (work_inv.get_file_kind(file_id) == 'directory' and 
 
264
        if (work_inv.get_file_kind(file_id) == 'directory' and
265
265
            not work_inv.is_root(file_id)):
266
266
            dir_cnt += 1
267
267
    outfile.write('  %8d versioned %s\n' % (dir_cnt,
376
376
    elif branch is not None:
377
377
        _show_missing_revisions_branch(branch, outfile)
378
378
    if branch is not None:
379
 
        stats = _show_branch_stats(branch, verbose==2, outfile)
 
379
        show_committers = verbose >= 2
 
380
        stats = _show_branch_stats(branch, show_committers, outfile)
380
381
    else:
381
382
        stats = repository.gather_stats()
382
383
    if branch is None and working is None: