On 9/20/07, Andy Levy <andy.levy@gmail.com> wrote:
> On 9/20/07, Doug Hockin <dhockin@tibco.com> wrote:
> >
> > If I checkout a whole tree worth of files and directories recursively,
> > then the
> > root's 'entries' file (.svn/entries) contains a 'dir' entry for each
> > immediate sub-directory.
> >
> > If instead I checkout all the files in the root (non-recursive) and then
> > individually checkout each of
> > the sub-directories recursively, the root's 'entries' file does not
> > contain an entry
> > for each of the sub-directories. As a result subsequent operations
> > performed from
> > the root don't ripple down the sub-directory trees. For example an 'svn
> > status' will
> > show all those sub-directories as '?', not under version control.
>
> Sounds right to me. You're actually creating *two* WCs, one inside the
> other (which can become very confusing).
>
> > Is
> > there any way to do the
> > sub-directories separately like this and get the 'dir' entries into the
> > top level 'entries' file?
> >
> > I need to do them separately because I don't want all of them, some are
> > excluded.
>
> This should work:
> svn co --non-recursive <base_dir>
> svn up <list_of_directories_you_do_want>
>
> > And some in the working-copy come from a different place in the
> > repository and are inserted
> > into this tree.
>
> Then you should be using externals for them.
Or switch (which is explicitly designed to pull in items from the
*same* repository, but different locations).
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 20 14:50:55 2007