bzr-svn and auto props

Jelmer Vernooij jelmer at samba.org
Tue Sep 29 20:43:34 BST 2009


Hi Chris,

On Fri, 2009-08-14 at 17:31 +0000, Christopher Fedak wrote:
> I am working on introducing bazaar (1.17) at my workplace.  svn is what we use
> now.  In order to introduce dvcs one step at a time, the plan is to use svn as
> the central repository for finished work, with bzr checkouts and branches used
> by individual contributors in their day to day work.
> 
> The problem I've run into arises from the fact that we work on both windows and
> mac on the same source tree.  New files added with bzr (and committed with
> bzr-svn) have mixed line endings, or have a lot of spurious changes when text
> editors helpfully clean them up.  The root of the problem seems to be that we
> used to use svn's auto properties feature to set text properties on new text
> files, and those properties are not being set when we commit via bzr-svn.
> 
> I'd prefer not to have to set all text properties by hand.  Is there a way to
> configure bzr and bzr-svn to handle auto-properties in the same manner svn
> clients do?  Is there another way (short of not using svn as the central
> repository) to design our bzr workflow that circumvents the issue?
You should be able to use Bazaar "rules" to make sure that certain files
committed with Bazaar have proper line endings. However, this is
configured in ~/.bazaar and all done independently of the Subversion
file properties.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090929/db1783f8/attachment.pgp 


More information about the bazaar mailing list