# # # patch "ChangeLog" # from [30c23caad778d36107d5cbdf04ca5e2e0c53cf88] # to [935d40dc8fb09c652cf5876b3a318e9433bf034c] # # patch "commands.cc" # from [0ddca22048a95d54a1a45230c3f8f6cb2a7e6f0a] # to [9dbeb9b6f14bf6300506d0818ccdd3cada2020db] # ============================================================ --- ChangeLog 30c23caad778d36107d5cbdf04ca5e2e0c53cf88 +++ ChangeLog 935d40dc8fb09c652cf5876b3a318e9433bf034c @@ -1,5 +1,9 @@ 2006-02-18 Matthew Gregan + * commands.cc (CMD(refresh_inodeprints)): Check for a valid + workspace rather than failing with an invariant when run outside + of a workspace. + * tests/t_revert_new_project.at: Add an XFAIL test for a bug where reverting a file added in a new project will leave the workspace in a bad state until MT/work is removed manually. ============================================================ --- commands.cc 0ddca22048a95d54a1a45230c3f8f6cb2a7e6f0a +++ commands.cc 9dbeb9b6f14bf6300506d0818ccdd3cada2020db @@ -3214,6 +3214,7 @@ CMD(refresh_inodeprints, N_("tree"), "", N_("refresh the inodeprint cache"), OPT_NONE) { + app.require_workspace(); enable_inodeprints(); maybe_update_inodeprints(app); }