View Ticket
Not logged in
Ticket UUID: 16f8dabf6691cd6f5c9afdbf0d41cb3bfc3f92e0
Title: Prune empty dirs when switching checkout UUIDs
Status: Open Type: Feature_Request
Severity: Cosmetic Priority: Immediate
Subsystem: one Resolution: Open
Last Modified: 2008-09-19 07:30:34
Version Found In: f3fb0
Description & Comments:
If a developer commits changes including a new dir containing files, then reverts via "checkout" command to an earlier UUID or another checkout without that new dir, the new dir's file are removed, but the empty directories remain.

It would be nice to see the source tree revert as closely as possible to its original state when the UUID was created, including dir structure. It would be easier for the developer to keep clear just what's being worked on, if nothing else.

Perhaps as an option for the checkout command, if not the default.


stephan added on 2008-09-19 07:30:34:
As a workaround, in theory you can use the 'clean' command for that. That'll nuke all files in the tree which are not part of a current checkout.