~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconfigure.py

  • Committer: Andrew Bennetts
  • Date: 2010-11-22 03:35:24 UTC
  • mto: This revision was merged to the branch mainline in revision 5547.
  • Revision ID: andrew.bennetts@canonical.com-20101122033524-ouxj0onm3gtkimx3
Remove RepositoryFormatCHK1 and RepositoryFormatCHK2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    ui,
30
30
    urlutils,
31
31
    )
32
 
from bzrlib.i18n import gettext
 
32
 
33
33
 
34
34
# TODO: common base class for all reconfigure operations, making no
35
35
# assumptions about what kind of change will be done.
48
48
        try:
49
49
            branch.set_stacked_on_url(on_url)
50
50
            if not trace.is_quiet():
51
 
                ui.ui_factory.note(gettext(
52
 
                    "{0} is now stacked on {1}\n").format(
53
 
                      branch.base, branch.get_stacked_on_url()))
 
51
                ui.ui_factory.note(
 
52
                    "%s is now stacked on %s\n"
 
53
                    % (branch.base, branch.get_stacked_on_url()))
54
54
        finally:
55
55
            branch.unlock()
56
56
 
63
63
        try:
64
64
            branch.set_stacked_on_url(None)
65
65
            if not trace.is_quiet():
66
 
                ui.ui_factory.note(gettext(
67
 
                    "%s is now not stacked\n")
 
66
                ui.ui_factory.note(
 
67
                    "%s is now not stacked\n"
68
68
                    % (branch.base,))
69
69
        finally:
70
70
            branch.unlock()