[Pkg-bazaar-maint] builddeb error on uncommitted changes..
James Westby
jw+debian at jameswestby.net
Tue Jul 10 16:30:59 UTC 2007
On (10/07/07 18:10), Reinhard Tartler wrote:
> Robert Collins <robertc at robertcollins.net> writes:
>
> > This
> > Building branch from revision XXX
> > bzr: ERROR: There are modified files in the working tree. Either commit
> > the
> > changes, use --working to build the working tree, or --ignore-changes
> > to override this and build the branch without the changes in the
> > working
> > tree. Use bzr status to see the changes
> >
> > is pretty ugly.
>
> I tend to agree to Rob. In this case, it should perhaps continue as if
> --working was given on the commandline, and a warning message about this
> fact be issued. This would make experimenting with the code easier, imo.
>
Hmm, I'm slightly confused now, is it the fact that it wont build a
working tree by default, or that it wont build with unknowns?
For the former you could alias builddeb to builddeb -w. I could also add
a config option for it.
For the latter there is --ignore-unkowns.
If you don't the behaviour with unknowns create '~/.bazaar/builddeb.conf'
containing
[BUILDDEB]
ignore-unknowns = True
And then it is up to you to remember to add files that you need.
More information about the Pkg-bazaar-maint
mailing list