~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-21 08:14:07 UTC
  • mfrom: (3427.4.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080521081407-ohffv2bn288gd515
add 'ls -V' short option

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
                       '--unknown')
61
61
        self.ls_equals('', '--ignored')
62
62
        self.ls_equals('', '--versioned')
 
63
        self.ls_equals('', '-V')
63
64
        self.ls_equals('.bzrignore\n'
64
65
                       'a\n',
65
66
                       '--unknown --ignored --versioned')
 
67
        self.ls_equals('.bzrignore\n'
 
68
                       'a\n',
 
69
                       '--unknown --ignored -V')
66
70
        self.ls_equals('', '--ignored --versioned')
 
71
        self.ls_equals('', '--ignored -V')
67
72
        self.ls_equals('.bzrignore\0a\0', '--null')
68
73
 
69
74
    def test_ls_added(self):
215
220
        self.ls_equals('.bzrignore\n'
216
221
                       'a\n'
217
222
                       , '--versioned')
 
223
        self.ls_equals('.bzrignore\n'
 
224
                       'a\n'
 
225
                       , '-V')
218
226
 
219
227
    def test_kinds(self):
220
228
        self.build_tree(['subdir/'])