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

svn update again

From: Larry McVoy <lm_at_bitmover.com>
Date: Sun, 6 Feb 2011 13:54:30 -0800

Hi, back with another svn question regardling branches. Beat my head against
this wall for a while and figured someone here would know.

I've been trying to go about doing branch imports a somewhat strange, to svn
it appears, way. I run a checkout like so:

svn co -r1 file:////ssd1/lm/tcl-subset.svn/branches/core-8-0-5-branch ws

and then I attempt to get the list of revs that touch this branch like so:

svn log -r1:HEAD file:////ssd1/lm/tcl-subset.svn/branches/core-8-0-5-branch

and then I attempt update to each of those revs in the branch like so:

for rev in list_of_revs
do svn update -r$rev
done

which gets me what I want for the subset of revs that existed before the branch
creation, but not for the revs that are unique to the branch, I get the wrong
data, I believe from some other branch (maybe the trunk)?

So am I just trying to use svn wrong? Did I go wrong with the log, is that
not giving revs that touch that branch?

Thanks, yours in svn-not-groking-it-land,

-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com
Received on 2011-02-06 22:55:09 CET

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

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