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

Re: svn update issues...

From: Pavel Krupets <pkrupets_at_yahoo.com>
Date: Wed, 28 Dec 2011 09:53:38 -0800 (PST)

> ________________________________________
> From: Pavel krupets
> Sent: 12/28/2011 9:16
> To: Bob Archer; users_at_subversion.apache.org
> Subject: RE: svn update issues...
> Hello,
>
> Thanks for your reply! Difference is that before, after doing update or check
> out with -N, i can do one svn update in the root. Now update in the root starts
> updating tags.
>
> Please note that i have a bunch of projects and doing update for every trunk is
> tiresome.
>
> Reverted to using 1.6.x as client for now. Will test set-depth today.
> ________________________________________
> From: Bob Archer
> Sent: 12/28/2011 9:02
> To: Pavel Krupets; users_at_subversion.apache.org
> Subject: RE: svn update issues...
>
> > > I have the following "structure":
> > >
> > > [+] \
> > >   [+] tags
> > >     [+] 2011-01-01 ...
> > >     [+] ...
> > >   [+] trunk
> > >     [+] ...
> > >
> > > Before I was able to do:
> > >
> > > 1) svn co -N http://me/svn .
> > > 2) svn update -N tags
> > > 3) svn update trunk
> > >
> > > Then when I decided to update my stuff I just go there and run "svn
> > > update" and tags folder was ignored. Now I did the same thing but
> > > when I do
> > "svn update"
> > > tags is being updated as well (starts downloading contents, and
> > > there is a lot of stuff there).
> > >
> > > I tried "svn update --depth=empty tags", didn't help. The following
> > > command hangs svn client forever: "svn update --set-depth=empty tags".
> > >
> >
> > I did the following:
> >
> > Svn co --depth=empty http://myserver/svn/project project cd project
> > svn up -- depth=empty tags svn up trunk
> >
> > Works fine.
> >
> > I have read the --set-depth can take a LONG time in 1.7. So a clean
> > checkout seems to be the quickest way to do this.
>
> Hmm... those commands all got put on one line:
>
> Svn co --depth=empty http://myserver/svn/project project
>
> cd project
>
> svn up --depth=empty tags
>
> svn up trunk
>

> Sorry. Just noticed. Step 3 should be "svn update" no trunk.

(please stop top posting)

Ok... let me break it down:

Svn co --depth=empty http://myserver/svn/project project

Creates the working copy with no folders brought down.

Cd project

Changes you to the project folder as your present working directory.

svn up --depth=empty tags

Adds the tags folder to the working copy with the depth of empty.

Svn up trunk

Adds the trunk folder to the working copy with the depth of infinity.

From that point on you can do an

Svn up

From the root and it will NOT bring in any tags, it will update all of trunk.

If you want to add a tag you can do something like:

Cd project/tags
Svn up Version1

Which will give you that folder. Then updating from root will update this folder as well as trunk.

BOb

--------------------------------------------------------------------------------------------------
This is exactly what I expected to happen. But on my PC "svn update -depth=empty tags" gets tags folder but not it's children. When I do "svn update" in tags' parent folder, it starts downloading all of the tags' children.
I used: http://downloads.sourceforge.net/project/win32svn/1.7.2/Setup-Subversion-1.7.2.msi?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fwin32svn%2F&ts=1325094625&use_mirror=superb-sea2
Sorry about top replying not sure what tools you use to reply.
Received on 2011-12-28 18:54:17 CET

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.