On Thu, Nov 17, 2016 at 07:54:04AM +0000, Lorenz wrote:
> 'svn help pg' on the other hand doen't gives not infomation about
> externals at all, and it rejects '--include-externals'.
> So no recursing into externals with 'svn propget' at all 8-(
Yes, propset/propget/proplist are a bit tricky.
For example, what would happen if --include-externals was combined with
the --revprop option? Keep in mind that SVN requires:
"Must specify the revision as a number, a date or 'HEAD' when operating
on a revision property"
So what should happen if the user asks for a revprop recursively, and there
are several repositories (with distinct revision number spaces) to query?
What if -r NUMBER was also given? What if -r HEAD was given? Should the
--include-externals and --revprop options be entirely mutually exclusive?
That's one (of possibly) many questions that need to be asked before
implementing such behaviour. It takes time to come up with a good design
that interacts well with other existing command options. Recursing into
externals is non-trivial to implement and has not been done everywhere.
In scripts, you can work around this by finding all externals with
'svn status' first, and then calling propget on each.
|