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

tree-conflicts ng

From: Neels Janosch Hofmeyr <neels_at_elego.de>
Date: Wed, 16 Sep 2009 01:38:09 +0200

Hi tree-conflicts folks,

I'd like to poke you guys with this scenario:

[[[
# fred's WC: copy, edit and remove something in three separate commits.
$ svn copy foo bar ; svn ci
$ $EDITOR bar ; svn ci
$ svn delete foo ; svn ci

# elaine's WC has a local mod on 'foo', and needs to get the new changes.
# she's about to face a tree-conflict.
$ svn st
M foo

$ svn up
    C foo
> local edit, incoming move to ^/bar
A + bar (moved from ^/foo)
M bar
Summary of conflicts:
  Tree conflicts: 1
# in a sidenote, the above copy+del results in a move

$ svn st
D C foo
> local edit, incoming move to ^/bar

$ svn resolve foo
Resolving tree-conflict on 'foo': local edit, incoming move to ^/bar
 (mt) apply mine to move-target (^/bar), (tf) discard mine/"theirs-full",
 (a) see all options? mt
M bar
D foo
Resolved conflicted state of ^/foo

$ svn st
M bar
$ svn ci -m "frobnicate."
]]]

~Neels

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2395296

Received on 2009-09-16 01:41:27 CEST

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.