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

Re: RE: Merge issues

From: Dan Crosta <dcrosta_at_gmail.com>
Date: 2006-09-26 20:22:45 CEST

that section (http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html)
is worth reading through a few times -- turns out you need to do some
wacky and ever-so-slightly unobvious things when you start to version
moves and copies and deletes. it helps me to think about paths as a
kind of metadata about the objects (files) subversion stores. in fact,
and hopefully someone else can answer this with certainty, this may be
how subversion actually stores things internally.

- d

On 9/26/06, Reedick, Andrew <Andrew.Reedick@bellsouth.com> wrote:
>
>
>
> >> What I don't understand is this syntax: svn merge -r verA:verB url@ver
>
> >> Can you clarify this syntax as the documentation clearly explains the -r
> options but not what the url@ver indicates?
>
> In this case, the url@ver specifies a Peg Revision.
> http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html
>
> Peg Revisions are important when you need to access a branch that no longer
> appears in the HEAD of the repository. This happens when you delete (or
> move or rename) a directory. For example: /trunk existed for revisions 1
> to 1000. I then delete /trunk in revision 1001. If I run 'svn log
> svn://.../trunk' I get an error message saying that /trunk doesn't exist.
> However, if I specify a Peg Revision in which /trunk existed, 'svn log
> svn://.../trunk_at_1000', then the command will work. (By the way, 'svn log'
> supports peg revisions starting in 1.4.0.)
>
>
>
>
>
> ________________________________
> From: Negron, Carlos [mailto:carlos.negron@credit-suisse.com]
> Sent: Tuesday, September 26, 2006 1:16 PM
> To: 'Lakshman Srilakshmanan'; Negron, Carlos
>
> Cc: users@subversion.tigris.org
> Subject: RE: Merge issues
>
>
>
> Lakshman,
>
> Thanks for you reply. I read the link and got a deeper understanding of how
> "svn merge -r <num>:<num>" would work.
> So it partially answered my question. Also the link focused on using some
> tool, I am using the command line on Unix.
>
> You see I understand this syntax: svn merge <url>@verA <url>@verB
>
> Based on the link below command will take files verA and compare them to
> verB. This issue I found with this type of
> merge is, for example: verA of file foo.c has lines of code I want to keep.
> verB has new functionality but does not
> have the code I want to keep from verA. So I want to merge. Thus when I do
> a merge the code that I want to keep
> gets deleted. I would at least expect a conflict. Also my working
> repository is the branch that contains verB.
> This also happens vice versa.
>
> What I don't understand is this syntax: svn merge -r verA:verB url@ver
>
> Can you clarify this syntax as the documentation clearly explains the -r
> options but not what the url@ver indicates?
>
> Please let me know.
>
> thanks
> Carlos
>
> ________________________________
> From: Lakshman Srilakshmanan
> [mailto:lakshman.srilakshmanan@tradingpost.com.au]
> Sent: Tuesday, September 26, 2006 1:18 AM
> To: Negron, Carlos
> Cc: users@subversion.tigris.org
> Subject: RE: Merge issues
>
>
>
>
>
> Hi Carlos,
>
>
>
> Please read the following link
> http://svn.haxx.se/users/archive-2006-01/0149.shtml from
> Ryan Schmidt.
>
>
>
> The above link helped me understand merging. If after reading the link you
> are still unclear let me know and I will attempt to clear your doubt.
>
>
>
>
> Thanks
>
> Lakshman
>
>
> ________________________________
>
>
> From: Negron, Carlos [mailto:carlos.negron@credit-suisse.com]
> Sent: Tuesday, 26 September 2006 5:14 AM
> To: 'users@subversion.tigris.org'
> Subject: Merge issues
>
>
>
> I'm failing to understand the merge syntax thus failing to merge my branches
> predictably.
>
> Please explain to me the exact meaning of the command:
>
> svn merge -r 25:30 file:///repos/branch
>
> I am basically attempting to merge from the trunk revision 1 to a branch,
> but
> I keep seeing my results of "A" for some files and it attempts to delete
> other files
> which I don't want and it also deletes portions of code that I don't want.
>
> Please help.
>
> Thanks
>
> Carlos A. Negron
> Jr.==============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ==============================================================================
>
>
> ==============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ==============================================================================
>
>
>
>
>
>
>
> *****
>
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential, proprietary, and/or
> privileged material. Any review, retransmission, dissemination or other use
> of, or taking of any action in reliance upon this information by persons or
> entities other than the intended recipient is prohibited. If you received
> this in error, please contact the sender and delete the material from all
> computers. GA622

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 26 20:23:31 2006

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

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