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

Adding --depth support to the status command

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2007-04-01 00:17:47 CEST

To follow up on the sparse-directories changes I'm currently adding
--depth support to the status command. Not to difficult, but I have one
question about the expected behavior of status -N.

The notes/sparse-directories.txt document says:

"The -N option becomes a synonym for --depth=files for these commands.
       * checkout
       * switch
       * update
       * status
       * info "

First of all, info doesn't accept -N, so unless there's a reason I don't
know about, we can remove that from this list.

Second, the current behavior of status -N is to show the status of both
files and directories in the target. In 'depth' terms, this is the
equivalent of --depth=immediates.

So should I map status -N to 'status --depth=immediates' to match the
current behavior? Or to 'status --depth=files' to make it consistent
over all commands?

Given -N is now obsolete, I prefer to just match current behavior and
get rid of that flag asap. Anyone who disagrees?

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 1 00:18:07 2007

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.