~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_too_much.py

  • Committer: Robert Collins
  • Date: 2006-06-16 15:40:20 UTC
  • mfrom: (1773.1.2 status)
  • mto: This revision was merged to the branch mainline in revision 1778.
  • Revision ID: robertc@robertcollins.net-20060616154020-aff002ca470b7526
(robertc)Remove --all option from status and deprecate the underlying api.

Show diffs side-by-side

added added

removed removed

Lines of Context:
696
696
        out = capture("status")
697
697
        self.assertEquals(out, 'unknown:\n  test.txt\n')
698
698
 
699
 
        out = capture("status --all")
700
 
        self.assertEquals(out, "unknown:\n  test.txt\n")
701
 
 
702
 
        out = capture("status test.txt --all")
703
 
        self.assertEquals(out, "unknown:\n  test.txt\n")
704
 
 
705
699
        f = file('test2.txt', 'wt')
706
700
        f.write('goodbye cruel world...\n')
707
701
        f.close()
715
709
        os.unlink('test2.txt')
716
710
 
717
711
        progress("command aliases")
718
 
        out = capture("st --all")
 
712
        out = capture("st")
719
713
        self.assertEquals(out, ("unknown:\n" "  test.txt\n"))
720
714
 
721
715
        out = capture("stat")
737
731
 
738
732
        runbzr("add test.txt")
739
733
        self.assertEquals(capture("unknowns"), '')
740
 
        self.assertEquals(capture("status --all"), ("added:\n" "  test.txt\n"))
741
734
 
742
735
        progress("rename newly-added file")
743
736
        runbzr("rename test.txt hello.txt")