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

  • Committer: John Arbash Meinel
  • Date: 2008-03-07 16:55:43 UTC
  • mfrom: (0.144.1 stats)
  • mto: (0.140.14 trunk)
  • mto: This revision was merged to the branch mainline in revision 6646.
  • Revision ID: john@arbash-meinel.com-20080307165543-vqrdj0jh256ajos1
(Wesley J. Landaker) properly import ui before using it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    config,
11
11
    errors,
12
12
    tsort,
 
13
    ui,
13
14
    workingtree,
14
15
    )
15
16
""")
94
95
 
95
96
def sort_by_committer(a_repo, revids):
96
97
    committers = {}
97
 
    pb = bzrlib.ui.ui_factory.nested_progress_bar()
 
98
    pb = ui.ui_factory.nested_progress_bar()
98
99
    try:
99
100
        pb.note('getting revisions')
100
101
        revisions = a_repo.get_revisions(revids)
113
114
 
114
115
def get_info(a_repo, revision):
115
116
    """Get all of the information for a particular revision"""
116
 
    pb = bzrlib.ui.ui_factory.nested_progress_bar()
 
117
    pb = ui.ui_factory.nested_progress_bar()
117
118
    a_repo.lock_read()
118
119
    try:
119
120
        pb.note('getting ancestry')
132
133
    
133
134
    This lets us figure out what has actually changed between 2 revisions.
134
135
    """
135
 
    pb = bzrlib.ui.ui_factory.nested_progress_bar()
 
136
    pb = ui.ui_factory.nested_progress_bar()
136
137
    committers = {}
137
138
    a_repo.lock_read()
138
139
    try: