> > > 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=1
> > 325094625&use_mirror=superb-sea2
> > Sorry about top replying not sure what tools you use to reply.
>
> If you cd into your tags folder and use the command svn info does it show depth
> set to empty?
>
> Did you use --depth (two dashes) or -depth (one dash?) You need to use two
> dashes before the switch.
>
> BOb
>
> ----------------------------------------------------------------------------------
>
> I used 2 dashes. This is a typo in email. Will try today when I get to my PC.
> Thanks a lot for your help!
> ----------------------------------------------------------------------------------
>
> Ok. I think I figured out what's happening. Sorry for confusion. Too much time
> between steps. This scenario used to work with update -N (well it does on
> 1.6.x).
> I have:
> [+] \
> [+] krupets.com
> [+] tags-deploy
> [+] trunk
> [+] prj2
> [+] tags
> [+] trunk
> [+] ...
> I did this:
> 1) svn co http://me/svn
> 2) cd krupets.com
> 3) rm -rf tags-deploy
> 4) svn update --depth=empty tags-deploy
> 5) cd ..
> 6) svn update
> step 3 need HDD space
> step 6 started downloading tags-deploy's contents.
> Did "svn info" after step 4.
> D:\prj\svn\krupets.com\tags-deploy>svn info
> Path: .
> Working Copy Root Path: D:\prj\svn
> URL: http://pakrupet-lw7:8080/svn/krupets.com/tags-deploy
> Repository Root: http://pakrupet-lw7:8080/svn Repository UUID: 62ddac95-
> 37c5-4faf-bfee-33da28e6a6f3
> Revision: 923
> Node Kind: directory
> Schedule: normal
> Last Changed Author: pkrupets
> Last Changed Rev: 648
> Last Changed Date: 2010-06-26 00:25:03 -0700 (Sat, 26 Jun 2010) Will try doing
> --set-depth instead. It takes too much time though :(
Can you not just do a new checkout of the whole WC setting the depths as you check out the stuff. It would be easier and probably faster.
BOb
-----------------------------------------
It's a lot of stuff to check out. Well I reverted to 1.6.x and it seems to work okay.
Thanks for your help.
Received on 2012-01-05 01:04:36 CET