/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 mapping.py

Fix test, remove unnecessary sort.

Show diffs side-by-side

added added

removed removed

Lines of Context:
442
442
def directory_to_tree(entry, lookup_ie_sha1, unusual_modes):
443
443
    from dulwich.objects import Tree
444
444
    tree = Tree()
445
 
    for name in sorted(entry.children.keys()):
 
445
    for name, value in entry.children.iteritems():
446
446
        ie = entry.children[name]
447
447
        try:
448
448
            mode = unusual_modes[ie.file_id]