/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

Allow paranoia checking with -Dverify.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
 
164
164
 
165
165
def inventory_to_tree_and_blobs(inventory, texts, mapping, cur=None):
 
166
    """Convert a Bazaar tree to a Git tree.
 
167
 
 
168
    :return: Yields tuples with object sha1, object and path
 
169
    """
166
170
    from dulwich.objects import Tree
167
171
    from bzrlib.inventory import InventoryDirectory, InventoryFile
168
172
    import stat