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

svn update unexpected behavior !!

From: ycdtosa <ycdtosa_at_eupla.unizar.es>
Date: 2005-02-17 19:13:57 CET

This got me stoned for a while... here are the facts.

When i do an svn update the removed branches in the repository are not
deleted in my working copy,
even if there are no changes in my WC.

this is my repo layout and detailed explation of what are the sytoms.

Project/trunk/
     .../branches (big ugly branches)
     .../branches/test (private development branches)
     .../tags

Into P1/branches/test/ branches come and go fast.(with a very short
live: lets say one or two days live) and then are svn deleted!

And there is this guy (project manager) that did a svn co svn:Project
(he needs all the project on his laptop when traveling traveling)
so he got:

WC/trunk
WC/branches
WC/branches/test
WC/branches/test/my-dev-task
WC/branches/test/his-dev-task
WC/branches/test/other-dev-task

A couple of days later my-dev-task, his-dev-task, and other-dev-task are
forever gone (after merging :-)).
when he does a svn update on WC he gets lots of stuff printed on screen
(as expected),
and i mean looots of it. These are regular svn output, the regular thing.

WC/trunk
WC/branches
WC/branches/test
WC/branches/test/my-dev-task
WC/branches/test/his-dev-task
WC/branches/test/other-dev-task
WC/branches/test/my-new-dev-task
WC/branches/test/one-more-dev-task
WC/branches/test/and-even-another-dev-task

but please, notice there still

WC/branches/test/my-dev-task
WC/branches/test/his-dev-task
WC/branches/test/other-dev-task

Which i did svn delete myself, and that do not show on svn:list
svn://server/Project1/branches/test/
so his WC layout keeps getting larger.

OK. I did find the (problem?)

Deep into trunk there is one svn:external pointing to another repo.
Project2/trunk
        .../branches
        .../tags

son into the WC he got
WC/branches/test/my-dev-task/[...]/Project2
WC/branches/test/his-dev-task/[...]/Project2
WC/branches/test/other-dev-task/[...]/Project2

which does still exists.

And svn update deletes everything else in the WC, but no the deeply
nested Project2 folder, neither its contens.
so i have read svn help update (yes, i finally did so) and didn't find
anything that looked like (and delete svn:externals while updating)
I was expecting those branches (my-dev-task, his-dev-task,
other-dev-task) to be deleted deleted on the svn update.

I do even think they sould be deleted (if there are no local changes in
the WC).
I know svn is tring to protect the data, but an up-to-date w/out local
changes
copy of the Project2 is no useful data, neither 3 extracopies of it.

Should a --remove-externals-wc or something alike be added to the svn
update command.?
Is there any other way to get this automated?
Is there anything i'm missing here?
What would you expect?

Thanks a lot.

--
Sorry i did some reposting with a better sounding subject here.
previous post got overlooked.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 17 19:16:54 2005

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