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

Re: Walking Merge History

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-09-14 05:13:43 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Karl Fogel wrote:
> "Hyrum K. Wright" <hyrum_wright@mail.utexas.edu> writes:
>> To restate your question: could we add a fourth callback ("this node was
>> copied from somewhere else, here's where"), and let the callback
>> determine if the walker should halt or not? Is this right?
>
> Yep, that's what I'm proposing.
>
> In general, if we've got a callback table anyway, then I think the way
> to indicate "something happened" is to add a callback for "something".

Sounds good. The plan will be: call found_ancestor() on any interesting
ancestor, and then potentially call any of the other callbacks to
indicate that something else (branch, copy, merge) happened.

Of course, a consumer can leave any of the callbacks as NULL, and the
walker will ignore them.

- -Hyrum
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6fxnCwOubk4kUXwRAuV5AJ9177GR8kRkRT/eRn2yO0RQXOFo9QCeMiZ8
aZ+r7HE9e5PEWID3lAMRNjc=
=7oeO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 14 05:10:19 2007

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.