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

Re: The right library...to get info about a directory

From: Files <files_at_poetryunlimited.com>
Date: 2003-11-12 20:43:49 CET

Julian Foad said:
> A concrete, but tentative, proposal from me:
>
> + "svn list" (without "--verbose") should accept "--xml", and that should
> cause it to output, in XML format, for each directory entry:
> + the item's name
> + the item's type (file or directory)

Sorry Julian.

I keep misquoting myself.

Ben said that the ra layer provides a list of directory structures on a
get_dir (sorry if I'm spelling the function name wrong). However, the data
inherent in them is not completely accessible.

I had forgotten about the --verbose flag. Unfortunately --verbose is not
unequivocal in that it is still incomplete.

'svn ls --raw' would output all the directory structure information present in
human readable unambiguous format.
'svn ls --raw --xml' would output all the directory structure information in
xml format in unambiguous format.

Currently --verbose omits things it feels are unimportant and chooses to
format things 'nicely', instead of sticking to straight ascii representation
of the data - e.g. times not reported as a timestamp, etc. --raw would do so.

These are the things I am attempting to get at in a simplified way so, so that
I can go after the SWIG bindings when I am more comfortable w/ such.

'svn edit' would allow a remote editing session w/o requiring an intervening wc.

-- 
Shamim Islam
BA BS
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 12 20:45:17 2003

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.