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

RE: How do I find out the ancestor of svn cp?

From: Mats Nilsson <mats.nilsson_at_xware.se>
Date: 2002-06-28 14:10:03 CEST

I wrote:
> The question is simple: how will I be able to use "svn log" to find out
the
> source (path/revision) of a "svn cp" or a "svn mv"? As of 0.13.1+ (version
> 2346), "svn log --verbose" only shows the target.

More thinking.

Does the infrastructure for this even exist? Is the ancestor stored
somewhere?

I continued thinking that, if not, then "svn log --verbose --show-ancestors"
might be a feature that would come for free implementing the post-1.0
intelligent merging, assuming that automerge would need to have the option
of looking further back in the history than merely that of the current
"branch".

Given that merge history would be stored in properties of directories/files,
I guess so would the record of the initial ancestor. Unless, of course, the
ancestor path/rev is already stored somewhere else.

Anyway, my refined point is that it seems more logical that this information
is represented as a dir/file property than a revision attribute, even if it
could be extracted and presented in a suitable "svn log" record. So is this
case similar to what has already been optimised for issue #690?

Mats

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 28 14:12:40 2002

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.