~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-13 13:03:03 UTC
  • mfrom: (1767.2.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060613130303-e9de5dbda2e80da6
(robertc, abentley, jameinel, mpool)Various improvements to add performance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        self.run_bzr('add')
120
120
        self.assertEquals(self.capture('unknowns'), '')
121
121
        self.run_bzr('check')
 
122
 
 
123
    def test_add_missing(self):
 
124
        """bzr add foo where foo is missing should error."""
 
125
        self.make_branch_and_tree('.')
 
126
        self.run_bzr('add', 'missing-file', retcode=3)