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

Re: CIA can't count

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-03-11 17:00:01 CET

Dale Worley wrote:
> "svn ls -R ." - lists files and directories relative to CWD.
> "svn ls -R dir1" - lists files and directories relative to "dir1". That is,
> "dir1/file1" is output as "file1".
> "svn ls -R dir2/file2" - lists "dir2/file2".

Each of these more or less corresponds to how 'ls' itself operates,
except that 'ls' returns the directory on a seperate line from the files
contained within the directory (which is slightly more scriptable
because that line has a trailing colon) and the files are then tab
delimited. And even then, the directories are always listed relative to
the current folder:

        $ ls -R ident
        geoip p0f


        $ svn ls -R ident
Perhaps if 'svn ls' grew a '-p' option like most 'ls' implementations:

        -p, --file-type
               append indicator (one of /=@|) to entries

that would help your needs. But I think anything that would change 'svn
ls -R' is not going to be acceptable (the current output is part of the
API), at least not until 2.0.


John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 11 17:01:01 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.