[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issue #2064

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-10-18 16:16:22 CEST

On Oct 14, 2004, at 4:58 PM, Peter N. Lundblad wrote:

> Hi, folks,
>
> I'm trying to solve issue #2064, which is about merge failing to create
> symlinks (and expand keywords for that matter). It would be nice to
> have
> this in 1.1.1 if possible, but it is no show-stopper. It's ugly though.
>
> The problem is that the diff editor is designed to provide file
> changes/additions in a callback and property changes in another
> callback.
> So, when a file is merged, the old properties are still in effect.
> What is
> necessary to do is to have the file retranslated (keywords expanded
> and so
> on) when properties are merged. The problem is that I find no way
> outside
> of libsvn_wc to do this. I tried svn_wc_merge with identical left and
> right files, but that function was too smart. I.e. it didn't expand if
> the
> file wasn't changed. Has anyone got an idea how to solve this? For
> 1.2, we
> can have a public function for this. Maybe we should just punt and
> document this as a known pbolem?

Peter: I fear that this is just a design flaw in the diff/merge
callback system. I don't know what to do other than design a new set
of callbacks make the diff editor use them; it would have to be a new
API added in 1.2. I can't see a 1.1.X solution. :-(

I agree that we should somehow announce this bug: it's a pretty big
deal that 'svn merge' cannot create symlinks, expand keywords, or
translate EOLs.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 18 16:16:51 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.