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

need for "svn ancestorlist"

From: John Belmonte <john_at_neggie.net>
Date: 2005-01-21 04:41:14 CET

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

By default, alist only shows the immediate parent. With another option,
it might walk up the ancestor tree:

   $ svn alist -R foo
   /trunk/foo:2050
       /trunk/bar:300
           /home/john/bar:244

If Subversion someday acquires built-in merge tracking, an option could
be added to this command to not only show the "blood" parent of a target
(via "svn cp"), but also ancestors by merge:

   $ svn alist --with-merged foo
   /trunk/foo:2050
   /branches/b1/foo:8880
   /branches/b2/foo:9000

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 21 04:42:37 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.