On Mon, Mar 14, 2011 at 05:11:03PM +0100, Christoph Bartoschek wrote: > Hi, > > I would like to merge the changes of a directory in repository A to a > directory in repository B. My problem is that several merges fail because of > the id keywords. > > Svn diff for example shows: > > -/* > -** $Id: st_opt_small.c,v 1.3 2004/03/08 17:25:57 mueller Exp $
It looks like the above Id expansion is from CVS, not from Subversion? I'd guess the source repository does not have svn:keywords set no this file, because otherwise it would look different. > -** > -** $Locker: $ > -*/ > +/* $Id$ */ > The removed Id line cannot be found in repository B because a different user > created it. It looks like: > > ** $Id: st_opt_small.c 2 2011-03-14 15:17:33Z bartosch $ > > > The merge then fails with a conflict because it cannot find the line of the > diff. How can I let merge ignore conflicts that arise because of expanded Id > lines? Does the file have an svn:keyword property set in your repository? If so, have you tried removing it? Maybe this is due to auto-props settings in your local configuration file? > Or how to prevent Id expansion locally and in the diffs? It's controlled via svn:keywords properties: http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.keywords.html