~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

Add in non-normalized filename sanity check to dirstate add().

Show diffs side-by-side

added added

removed removed

Lines of Context:
1312
1312
    if file_id is None:
1313
1313
        file_id = generate_ids.gen_file_id(name)
1314
1314
 
 
1315
    #------- This has been copied to bzrlib.dirstate.DirState.add, please
 
1316
    # keep them synchronised.
1315
1317
    norm_name, can_access = osutils.normalized_filename(name)
1316
1318
    if norm_name != name:
1317
1319
        if can_access: