> ________________________________________
> 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
Received on 2011-12-28 18:24:15 CET