Mark Phippard wrote:
> On Fri, Aug 1, 2008 at 5:03 PM, Michael Maxwell <mmaxwell_at_casl.umd.edu> wrote:
>> I want to find the status of all the SVN files in the current directory which need to be checked in, and recursively in subdirectories,
>> including both modified and added files (I can ignore unchanged files). This seems like it should be simple, but I'm having a hard time
>> getting it to work reliably...
> svn status already does all this. It is recursive by default and it
> shows 'A'dds.
Thanks, Paul Koning pointed this out to me off-line. I guess the problem was that I didn't realize the 'status' command was recursive by default (or any other way). Paul pointed out that it's possible to infer which commands are recursive by default, because the have a -N flag to make them non-recursive; whereas commands which are non-recursive by default have a -R flag to make them recursive. (And commands for which it is irrelevant have neither.) And of course whether a command has such a flag or not can be determined by the 'svn help <cmd>' command.
(I'm repeating this on the list because none of this was obvious to me, so I'm assuming there may be others for whom it is not obvious.)
CASL/ U MD
P.S. Apologies if this comes through in some non-vanilla text format. The webmail client I'm using doesn't seem to allow such a thing.
Received on 2008-08-02 05:05:48 CEST
This is an archived mail posted to the Subversion Users