~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/versioning.py

  • Committer: Jelmer Vernooij
  • Date: 2005-11-04 17:26:05 UTC
  • mfrom: (1185.16.146)
  • mto: (1185.33.1)
  • mto: This revision was merged to the branch mainline in revision 1509.
  • Revision ID: jelmer@samba.org-20051104172605-9288f261492667fd
MergeĀ fromĀ Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        chdir = os.chdir
128
128
        
129
129
        b = Branch.initialize('.')
 
130
        t = b.working_tree()
130
131
        self.build_tree(['src/', 'README'])
131
132
        
132
133
        eq(sorted(b.unknowns()),
141
142
        
142
143
        eq(sorted(b.unknowns()), 
143
144
           ['README'])
144
 
        eq(len(b.inventory), 3)
 
145
        eq(len(t.read_working_inventory()), 3)
145
146
                
146
147
        chdir('..')
147
148
        self.run_bzr('add')