[RFC] behaviour of commit --strict DIR?

Ian Clatworthy ian.clatworthy at internode.on.net
Wed May 13 08:08:50 BST 2009


I'm in the process of performance tuning some commit operations. Looking
over the code, it looks like --strict will cause commit to fail if *any*
unknown files are found in the working tree. I'm thinking that it ought
to only check for unknowns within the context of specific files (and
excludes) if these are given.

In other words, if the user runs

  bzr commit --strict doc

and there are unknowns outside of the doc directory but none inside it,
the commit ought to work. Likewise,

  bzr commit --strict -x test

ought to work if the only unknown are found in the test directory.

Thoughts?

Ian C.



More information about the bazaar mailing list