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

Re: Merge issues.

From: Tom Mornini <tmornini_at_infomania.com>
Date: 2005-01-26 22:13:37 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jan 26, 2005, at 12:56 PM, Carter Thompson wrote:

>
> I'm just not getting it.
>
> I created a branch of a subdirectory in subversion at revision 25,
> made a change of a file at revision 26 on the new branch. I also
> made some changes to the file on the trunk in order to create
> a conflict, that was revision 27. Now I need to merge the two
> changes together on the trunk and it's not working.
>
> File: UIResources.properties
>
> --------26------- ui-rel-1.0 branch
> /
> /
> ---24--25/----------------27----- trunk
>
> cd trunk
> svn update
> At revision 27.
> svn merge -r26:27
> http://subversion/svn/prodops/branches/ui-rel-1.0/src/com/outerbay/ui/
> UI
> Resources.properties
> http://subversion/svn/prodops/trunk/adm-suite/ui/src/com/outerbay/ui/
> UIR
> esources.properties
>
> What am I doing wrong?

"Merge the changes on the branch into the trunk."

The branch begins (as per your diagram) at 25, so we need the changes
between 25 and HEAD, applied to the trunk (WC)

cd trunk
svn update
At revision 27.
svn merge -r25:HEAD
http://subversion/svn/prodops/branches/ui-rel-1.0/src/com/outerbay/ui/
UIResources.properties

...or... (though I don't know why anyone would prefer it)

svn merge
http://subversion/svn/prodops/branches/ui-rel-1.0/src/com/outerbay/ui/
UIResources.properties@25 \
            
http://subversion/svn/prodops/branches/ui-rel-1.0/src/com/outerbay/ui/
UIResources.properties@HEAD

- --
- -- Tom Mornini
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB+AgBzaKkuvKwKvcRApCnAKCOSPDhKLuIUikuEtEf59Ud03naSwCgm2K6
Iy86mt2DQQYAk9zGYCWmrIc=
=FSIz
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 26 22:34:41 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.