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

RE: [PATCH] bring back some examples in notes/sparse-directories.txt

From: Rui, Guo <timmyguo_at_mail.ustc.edu.cn>
Date: Sat, 5 Apr 2008 22:08:42 +0800

> Thanks, r30296. (Next time can you attach as MIME type text/plain,
> instead of application/octet-streat?)
>
Sorry for the inconvenience.
The patch was sent in Outlook, in which I don't know how to set the MIME
type. I'll try mutt instead if I still cannot figure out how to do it in
Outlook next time when I need to send another patch.

> > Some more discussions
> > The document says that the --depth option limits how far an operation
> > descends and never changes the depth of an existing dir. I thought the
> > --depth option in 'svn checkout' is rather different in semantics when I
> > posted my last thread. However, the --depth option DO define the depth
for
> a
> > dir that is not yet exists, according to the quoted example (if it
actually
> > works).
> > <==========QUOTE==========>
> > svn up --depth=immediates Awc/D
> > Since D is not yet checked out, add it at depth-immediates.
> > <==========END QUOTE==========>
> > This should be clarified in both the document and the help message of
> > --depth option.
>
> Isn't the documentation accurate right now? It says "existing dir", not
> just "dir"...

The document is accurate about what it says, but is not complete enough in
my opinion. IMHO, it should not only document the behavior on existing dir
but also include the situation of non-existing dir (define the depth for a
dir that is not yet exists).
In addition, the description of --depth option in the command may need to be
updated accordingly. The current version is as follow:
  --depth ARG : limit operation by depth ARG ('empty', 'files',
                            'immediates', or 'infinity')

Thank you
Rui, Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-05 16:06:54 CEST

This is an archived mail posted to the Subversion Dev mailing list.