~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-31 00:01:08 UTC
  • Revision ID: mbp@sourcefrog.net-20050331000108-bb19c80a7efe28f4
order in which unknowns are reported has changed

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
    >>> [v[0] for v in b.inventory.directories()]
163
163
    ['', 'd1']
164
164
    >>> list(b.working_tree().unknowns())
165
 
    ['d1/f1', 'd2']
 
165
    ['d2', 'd1/f1']
166
166
    >>> # d2 comes first because it's in the top directory
167
167
 
168
168
    >>> b.add('d2')
184
184
    ['configure', 'configure.in', 'doc', 'foo', 'foo.c', 'src']
185
185
    >>> b.add(['doc', 'foo.c', 'src', 'configure.in'])
186
186
    >>> list(b.unknowns())
187
 
    ['configure', 'doc/configure', 'foo']
 
187
    ['configure', 'foo', 'doc/configure']
188
188
    >>> f = file(b.abspath('.bzrignore'), 'w')
189
189
    >>> f.write('./configure\n'
190
190
    ...         './foo\n')