Merge lp:~jelmer/brz/dpush-strict into lp:brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/dpush-strict
Merge into: lp:brz
Diff against target: 64 lines (+2/-19)
4 files modified
breezy/config.py (+0/-10)
breezy/help_topics/en/configuration.txt (+0/-7)
breezy/push.py (+1/-1)
breezy/tests/blackbox/test_push.py (+1/-1)
To merge this branch: bzr merge lp:~jelmer/brz/dpush-strict
Reviewer Review Type Date Requested Status
Martin Packman Approve
Review via email: mp+358475@code.launchpad.net

Commit message

Drop dpush_strict configuration option.

Description of the change

Drop dpush_strict configuration option.

This is now unused, since dpush has been removed.

To post a comment you must log in.
Revision history for this message
Martin Packman (gz) wrote :

Thanks!

review: Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'breezy/config.py'
--- breezy/config.py 2018-08-14 21:37:46 +0000
+++ breezy/config.py 2018-11-16 10:44:14 +0000
@@ -2776,16 +2776,6 @@
2776 Option('default_format', default='2a',2776 Option('default_format', default='2a',
2777 help='Format used when creating branches.'))2777 help='Format used when creating branches.'))
2778option_registry.register(2778option_registry.register(
2779 Option('dpush_strict', default=None,
2780 from_unicode=bool_from_store,
2781 help='''\
2782The default value for ``dpush --strict``.
2783
2784If present, defines the ``--strict`` option default value for checking
2785uncommitted changes before pushing into a different VCS without any
2786custom bzr metadata.
2787'''))
2788option_registry.register(
2789 Option('editor',2779 Option('editor',
2790 help='The command called to launch an editor to enter a message.'))2780 help='The command called to launch an editor to enter a message.'))
2791option_registry.register(2781option_registry.register(
27922782
=== modified file 'breezy/help_topics/en/configuration.txt'
--- breezy/help_topics/en/configuration.txt 2017-07-30 16:59:50 +0000
+++ breezy/help_topics/en/configuration.txt 2018-11-16 10:44:14 +0000
@@ -649,13 +649,6 @@
649If present, defines the ``--strict`` option default value for checking649If present, defines the ``--strict`` option default value for checking
650uncommitted changes before pushing.650uncommitted changes before pushing.
651651
652dpush_strict
653~~~~~~~~~~~~
654
655If present, defines the ``--strict`` option default value for checking
656uncommitted changes before pushing into a different VCS without any
657custom bzr metadata.
658
659bound_location652bound_location
660~~~~~~~~~~~~~~653~~~~~~~~~~~~~~
661654
662655
=== modified file 'breezy/push.py'
--- breezy/push.py 2018-03-31 17:16:06 +0000
+++ breezy/push.py 2018-11-16 10:44:14 +0000
@@ -152,7 +152,7 @@
152 ' for more information.'))152 ' for more information.'))
153 except errors.NoRoundtrippingSupport as e:153 except errors.NoRoundtrippingSupport as e:
154 raise errors.BzrCommandError(gettext("It is not possible to losslessly "154 raise errors.BzrCommandError(gettext("It is not possible to losslessly "
155 "push to %s. You may want to use dpush instead.") % 155 "push to %s. You may want to use --lossy.") %
156 e.target_branch.mapping.vcs.abbreviation)156 e.target_branch.mapping.vcs.abbreviation)
157 except errors.NoRepositoryPresent:157 except errors.NoRepositoryPresent:
158 # we have a controldir but no branch or repository158 # we have a controldir but no branch or repository
159159
=== modified file 'breezy/tests/blackbox/test_push.py'
--- breezy/tests/blackbox/test_push.py 2018-07-22 17:06:14 +0000
+++ breezy/tests/blackbox/test_push.py 2018-11-16 10:44:14 +0000
@@ -899,7 +899,7 @@
899 output, error = self.run_bzr("push -d dc dp", retcode=3)899 output, error = self.run_bzr("push -d dc dp", retcode=3)
900 self.assertEqual("", output)900 self.assertEqual("", output)
901 self.assertEqual(error, "brz: ERROR: It is not possible to losslessly"901 self.assertEqual(error, "brz: ERROR: It is not possible to losslessly"
902 " push to dummy. You may want to use dpush instead.\n")902 " push to dummy. You may want to use --lossy.\n")
903903
904904
905class TestPushOutput(script.TestCaseWithTransportAndScript):905class TestPushOutput(script.TestCaseWithTransportAndScript):

Subscribers

People subscribed via source and target branches