##// END OF EJS Templates
convert: update use of deprecated bzrlib property...
Kevin Bullock -
r29612:a234b32b stable
parent child Browse files
Show More
@@ -228,9 +228,10 b' class bzr_source(common.converter_source'
228 renaming = paths[0] != paths[1]
228 renaming = paths[0] != paths[1]
229 # neither an add nor an delete - a move
229 # neither an add nor an delete - a move
230 # rename all directory contents manually
230 # rename all directory contents manually
231 subdir = origin.inventory.path2id(paths[0])
231 subdir = origin.root_inventory.path2id(paths[0])
232 # get all child-entries of the directory
232 # get all child-entries of the directory
233 for name, entry in origin.inventory.iter_entries(subdir):
233 for name, entry in origin.root_inventory.iter_entries(
234 subdir):
234 # hg does not track directory renames
235 # hg does not track directory renames
235 if entry.kind == 'directory':
236 if entry.kind == 'directory':
236 continue
237 continue
General Comments 0
You need to be logged in to leave comments. Login now