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

Re: [RFC] Identifying copy/move sources

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-04-02 16:33:28 CEST

Daniel Rall wrote:
> Goal: I need a convenient and efficient way to identify the immediate
> copy/move source path and revision of a specified path and revision.

So, you need svn_fs_closest_copy(), but via the RA layers.

> Use case: The case I have in mind right now revolves around use of
> this copyfrom info in a 'merge' dialog, as part of an algorithm for
> suggesting the most likely merge source (e.g. for a feature branch
> forked off of trunk).

Hrm. This seems (to me, at first glance) like a stab in the dark which
falls over rather quickly in some common scenarios, such as branching for
code re-organization, where suddenly a directory's immediately copy/move
source path and revision haven't anything to do with the branch creation.

Maybe you can explain the full vision here a bit?

C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Mon Apr 2 16:33:43 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.