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

Re: Merging changes

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-11-11 02:44:24 CET

Ric@Consultants-Inc.com wrote:
> List,
>
> This is my first posting, so please be kind...
>
> I'm a new Subversion user, trying to get my changes merged into the repository.
> Here's what I did.
>
> Loaded the repository with the original software.
> A co-worker checked out all the software, I didn't.
> I made changes to my original software, but didn't do a checkout from SVN.
> The co-worker checked in his changes.
>
> Now I want to get my changes 'merged' into his.
>
> I checked out the software.
> I moved my 'modified files' into the working directory, replacing original files.
> I did an SVN Update. Nothing happened!
>
> So my question is: how can I get SVN to merge my changes into the version from the
> repository?
>
> I hoped that be replacing the files in the working directory with my versions, SVN
> would then merge my changes into the repository version. Can I fix this without doing
> a manual 'diff'?

Perhaps this might work.

If the co-worker's commit was revision 2, then checkout revision 1.

>svn co -r1 url workingcopy

Copy your locally changed file over the file in the working copy. Now
update to the latest.

>svn up workingcopy

Then test and commit.

>svn ci workingcopy

I haven't tested this, but it may work.

-- 
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 11 02:46:24 2005

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.