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

Re: merge peg revisions not working

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 29 Aug 2009 10:08:18 +0200

On 27.08.2009 11:21, getagrip wrote:
> I have read that tortoise is able to use peg-revisions out of the box,
> but trying to merge a file which does not exist anymore (was renamed in
> branch so all trunk changes are lost) does not work in tortoise when it
> should.
> (see nr. 10 below which works in the commandline but not in tortoise):
>
> initial structure =>
>
> 1. /trunk/merge.c
>
> 2. cd /trunk
>
> 3. svn cp /trunk /branch
>
> 4. // create local modifications in trunk and then
> svn ci merge.c -m "trunk changes"
> committed revision 10
>
> 5. svn sw /branch
>
> 6. svn mv merge.c branch_merge.c
>
> 7. svn ci -m "rename"
> committed revision 11
>
> 8. svn sw /trunk
>
> 9. svn merge /branch .
> D merge.c
> A branch_merge.c
> svn ci -m "merged from /branch and overlooked file rename/deletion"
> committed revision 12
>
> 10. // merging trunk changes that were lost in r12 back to /trunk_at_HEAD
> svn merge /trunk/merge.c_at_9 /trunk/merge.c_at_10 branch_merge.c
> svn ci -m "readded all lost changes from trunk"
> committed revision 13
>
> Whenever I try to merge (nr. 10) in tortoise I get a "file not found:
> revision n" error as the file which was renamed does not exist anymore.
> I've tried to do the merge with the peg-rev syntax, without it, do a 2
> url merge, just everything to no avail.
> Any hints are very much appreciated.

Please update to TSVN 1.6.5. From the changelog:
- BUG: Merging from an url which was renamed/deleted didn't work. (Stefan)

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2388464
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-29 10:08:46 CEST

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

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