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

Re: need for "svn ancestorlist"

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2005-01-21 07:38:37 CET

John Belmonte <john <at> neggie.net> writes:
> I'd like an efficient way to get copyfrom info on the command line. It
> can be pulled from "svn log -v --stop-on-copy", but that might require
> transfer of thousands of revision logs. Something like:
>
> $ svn alist foo
> /trunk/foo:2050

What is needed for this is to implement the nearest_copy feature in fs, and
relevent facades in the ra layer.

I have exactly the same feature implemented in svk, with some revprop for
caching repository-wide previous-copy, to avoid brute force node_history
tracing. FWIW, if you really need this feature now, you can use svk,
attaching your repository:

$ svk info /bps/rt-bnb
Depot Path: /bps/rt-bnb
Revision: 2159
Last Changed Rev.: 2084
Copied From: /clkao/rt-bnb, Rev. 2081
Merged From: /mirror/rt/branches/rt-3.3, Rev. 1201
Merged From: /mirror/rt/branches/3.2-RELEASE, Rev. 1499
Merged From: /mirror/rt/branches/rt-3.1, Rev. 1209
Merged From: /clkao/rt-bnb, Rev. 2081
Merged From: /mirror/rt/branches/3.3-TESTING, Rev. 2012
Merged From: /mirror/rt/trunk, Rev. 1199

Cheers,
CLK

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 21 07:39:52 2005

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.