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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import os
24
24
from warnings import warn
25
25
 
26
 
from brzlib import (
 
26
from breezy import (
27
27
    errors,
28
28
    osutils,
29
29
    )
30
 
from brzlib.store import TransportStore
31
 
from brzlib.trace import mutter
32
 
import brzlib.ui
 
30
from breezy.store import TransportStore
 
31
from breezy.trace import mutter
 
32
import breezy.ui
33
33
 
34
34
 
35
35
class VersionedFileStore(TransportStore):
206
206
 
207
207
        :param from_transaction: required current transaction in from_store.
208
208
        """
209
 
        from brzlib.transactions import PassThroughTransaction
 
209
        from breezy.transactions import PassThroughTransaction
210
210
        if from_transaction is None:
211
211
            warn("VersionedFileStore.copy_multi without a from_transaction parameter "
212
212
                 "is deprecated. Please provide a from_transaction.",
222
222
            # we are copying single objects, and there may be open transactions
223
223
            # so again with the passthrough
224
224
            to_transaction = PassThroughTransaction()
225
 
        pb = brzlib.ui.ui_factory.nested_progress_bar()
 
225
        pb = breezy.ui.ui_factory.nested_progress_bar()
226
226
        try:
227
227
            for count, f in enumerate(file_ids):
228
228
                mutter("copy weave {%s} into %s", f, self)