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

Re: svn list not supporting svn:externals

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 25 May 2012 20:42:07 +0300

Jie Zhang wrote on Fri, May 25, 2012 at 11:17:14 -0400:
> Hi,
>
> Someone already raised this issue:
>
> http://svn.haxx.se/users/archive-2009-08/0433.shtml
>
> How difficult will it be to implement it? If it's not hard, I can see
> if I can get it done. Thank you.
>

It would be pretty easy to implement:

f() {
  svn ls -- "$1"
  svn pg svn:externals -- "$1" | parse-and-print \
  || svn pg svn:externals -- "$1" | parse-and-run-svn_ls-on-each \
}

where parse-and-print uses svn_wc_parse_externals_description3()
(directly or via the $LANGUAGE bindings).

>
> Jie
Received on 2012-05-25 19:42:46 CEST

This is an archived mail posted to the Subversion Users mailing list.