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

Re: Feature idea: Hierarchal logs (views? subrevisions?)

From: <cmpilato_at_collab.net>
Date: 2002-07-25 03:59:36 CEST

Tim Moloney <moloney@mrsl.com> writes:

> Please help me get my brain around this and dumb it down a few
> more levels.
> cmpilato@collab.net wrote:
> > In Subversion-speak, this would be:
> >
> > svn copy -m 'make experimental branch' \
> > http//.../trunk http://.../branches/experimental
> > ... remember the revision number we just created here as REV ...
> A cheap copy was made directly in the repository so at revision
> REV, both .../trunk and .../branches/experimental point to the
> same stuff.


> > svn switch http://.../branches/experimental
> This switches the base of the working copy from .../trunk to
> .../branches/experimental and applies any differences (which
> there aren't any).


> > ... do various stuff, commit changes, etc:
> > svn commit -m '* Did something'
> > svn commit -m '* Did something else'
> > ... decide to commit to the main view:
> Commit changes into .../branches/experimental.


> > svn switch http://.../trunk
> This switches the base of the working copy back to .../trunk
> and applies the differences between .../branches/experimental
> and .../trunk to the working copy (if there are any differences).


> > svn merge -r REV:HEAD http://.../branches/experimental
> This is where I get lost. The above command is the same as
> svn merge http://.../branches/experimental@REV \
> http://.../branches/experimental@HEAD .
> which means merge the diffs of the entire experimental branch
> into the working copy. Why is this command necessary. Aren't
> these changes already in the working copy?

if they exist as local mods, then yes they are. if, however, they
were committed to the branch, then when switching back to the "trunk
view" they will be removed again (since they don't exist on the trunk).

> > svn commit -m '* Merging in experimental changes'
> Commit the combined trunk and experimental branches back to
> .../trunk.
> I must have some misunderstanding of the merge command (and
> perhaps switch also). I've reread the pertinent sections of
> the new handbook but it doesn't seem to help.

you were this || close! not bad, i'd say! :-)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 25 03:59:11 2002

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.