# # # patch "automate.cc" # from [372cc205ad6a5376ca94596985b6dcf7c657f33b] # to [1f348b31e010eb5243d292c88d17ebd2d010de29] # # patch "tests/automate_inventory/__driver__.lua" # from [ed2aa6e3c4fee34bc3b63974eb202b085e7bb13e] # to [b1913ba9ea62a9dde2a22ff8328792a4c0aafad2] # # patch "tests/automate_inventory_restricted/__driver__.lua" # from [1aacea01020abd0928e79bb01f5cd5dd89b73e81] # to [20aa6fa7f1d4b21dfd609f7afffc60b9d4d379ef] # ============================================================ --- automate.cc 372cc205ad6a5376ca94596985b6dcf7c657f33b +++ automate.cc 1f348b31e010eb5243d292c88d17ebd2d010de29 @@ -892,16 +892,7 @@ CMD_AUTOMATE(inventory, N_("[PATH]...") basic_io::stanza st; inventory_item const & item = i->second; - if (i->first.as_internal() == "") - { - // This is the workspace root directory; print a nicer name. - st.push_str_pair(syms::path, "."); - } - else - { - // Not the root directory - st.push_file_pair(syms::path, i->first); - } + st.push_file_pair(syms::path, i->first); if (item.old_node.exists) { ============================================================ --- tests/automate_inventory/__driver__.lua ed2aa6e3c4fee34bc3b63974eb202b085e7bb13e +++ tests/automate_inventory/__driver__.lua b1913ba9ea62a9dde2a22ff8328792a4c0aafad2 @@ -42,7 +42,7 @@ index = check_inventory (parsed, index, index = 1 index = check_inventory (parsed, index, -{path = ".", +{path = "", old_type = "directory", new_type = "directory", fs_type = "directory", ============================================================ --- tests/automate_inventory_restricted/__driver__.lua 1aacea01020abd0928e79bb01f5cd5dd89b73e81 +++ tests/automate_inventory_restricted/__driver__.lua 20aa6fa7f1d4b21dfd609f7afffc60b9d4d379ef @@ -33,7 +33,7 @@ index = check_inventory (parsed, index, parsed = parse_basic_io(readfile("stdout")) index = check_inventory (parsed, index, -{ path = ".", +{ path = "", old_type = "directory", new_type = "directory", fs_type = "directory", @@ -85,7 +85,7 @@ index = check_inventory (parsed, index, index = 1 index = check_inventory (parsed, index, -{ path = ".", +{ path = "", old_type = "directory", new_type = "directory", fs_type = "directory", @@ -257,7 +257,7 @@ index = check_inventory (parsed, index, index = 1 index = check_inventory (parsed, index, -{ path = ".", +{ path = "", old_type = "directory", new_type = "directory", fs_type = "directory", @@ -301,7 +301,7 @@ index = check_inventory (parsed, index, index = 1 index = check_inventory (parsed, index, -{ path = ".", +{ path = "", old_type = "directory", new_type = "directory", fs_type = "directory",