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

Re: Question about 'svn update'

From: Jeff Smith <jsmith_at_robotronics.com>
Date: 2007-03-29 21:28:38 CEST

On Friday 16 March 2007 08:46, Duncan Murdoch wrote:
> On 3/16/2007 1:42 AM, ying lcs wrote:
> > Hi,
> >
> > I checkout subversion truck to my local working copy (using svn
> > co). and then I remove a sub-directory under my working copy
> > (using 'rm -f sub-directory').
> >
> > And I do a 'svn update', my question is why subversion does not
> > re-download the sub-directory that I just removed?
> It does for me.

Works for me, too...

> I would guess you did more than just "rm -f subdir", but it's hard
> to guess exactly what. Did you make any recursive changes that
> might have affected the .svn directory in the parent?

The other day I experimented with `svn co -N`. I noticed that when it
doesn't checkout subdirs, it also does not `svn up` them later unless
specifically named. The reason is because in the current (parent)
dir, the ".svn/entries" file does not have that subdir listed.

 svn update sub-directory
which does restore it in my experimenting.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 29 21:29:44 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.