/breezy/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/trunk

« back to all changes in this revision

Viewing changes to breezy/tests/blackbox/test_branch.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
614
614
        self.assertFalse(t.has('remote/file'))
615
615
 
616
616
 
617
 
class TestDeprecatedAliases(tests.TestCaseWithTransport):
618
 
 
619
 
    def test_deprecated_aliases(self):
620
 
        """brz branch can be called clone or get, but those names are
621
 
        deprecated.
622
 
 
623
 
        See bug 506265.
624
 
        """
625
 
        for command in ['clone', 'get']:
626
 
            run_script(self, """
627
 
            $ brz %(command)s A B
628
 
            2>The command 'brz %(command)s' has been deprecated in brz 2.4. Please use 'brz branch' instead.
629
 
            2>brz: ERROR: Not a branch...
630
 
            """ % locals())
631
 
 
632
 
 
633
617
class TestBranchParentLocation(test_switch.TestSwitchParentLocationBase):
634
618
 
635
619
    def _checkout_and_branch(self, option=''):