/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Martin Pool
  • Date: 2007-10-09 06:28:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2903.
  • Revision ID: mbp@sourcefrog.net-20071009062804-96edl56w6c7x5y1c
Remove bad assertions from WorkingTree4._add

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
        state = self.current_dirstate()
159
159
        for f, file_id, kind in zip(files, ids, kinds):
160
160
            f = f.strip('/')
161
 
            assert '//' not in f
162
 
            assert '..' not in f
163
161
            if self.path2id(f):
164
162
                # special case tree root handling.
165
163
                if f == '' and self.path2id(f) == ROOT_ID: