Comment 1 for bug 949494

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 949494] [NEW] expand_keywords expands on update/commit

On Wed, Mar 07, 2012 at 11:25:09PM -0000, Bill Pollifrone wrote:
> bzr export and bzr export --keywords=[style] output raw and cooked
> values respectively. Not sure if by design, but one would expect bzr
> update or bzr checkout to give the uncooked values. I've tracked this
> down to the fact that expand_keywords is called for those actions
> without any keywords switch.
>
> I've modified my local copy of the code to have a global flag set when
> the keywords kwarg is specified in export/cat actions and use that to
> skip expanding of keywords as a quick and dirty fix. I'm not sure if
> this is all by design or an oversight or if there's a better way to
> handle than with a global.
I'm not entirely sure I follow what you mean.

Do you mean that you want "bzr co" and "bzr up" to not create files
with keywords expanded?

Cheers,

Jelmer