clean-tree in bzr core?

Martin Pool mbp at canonical.com
Mon Aug 4 03:13:47 BST 2008


On Sun, Aug 3, 2008 at 12:00 AM, Jelmer Vernooij <jelmer at samba.org> wrote:
> One of the bzrtools commands I find very useful and use often is
> "clean-tree". It has a clear simple UI (to compare, I always have to use
> "git clean --help" to find out which git-clean option I want) and its
> code doesn't appear to be tied to the rest of bzrtools.
>
> Similar to some of the other commands that have been merged into core,
> such as switch, I wonder if it would perhaps be a good idea to merge
> clean-tree into bzr core at some point.
>
> Are there any objections to moving clean-tree into the core, thoughts?

I'd like to move it in.

In general the bzr test suite does not generate detritus in the source
tree anymore - at least it does not put the test root directory there.
 The biggest bit of cruft I notice is the build/ directory, and that
sometimes we generate a .ccache directory there for reasons I have not
yet dug into.  (Probably running $CC with either $HOME or something
else set strangely.)

I don't think it would belong under reconfigure.  You could make a
case for it being an option to revert, but I'd be a bit concerned
people might forget the option and lose their work in progress.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list