On Thu, 2011-05-26 at 13:42 +0200, Stephen Butler wrote:
> I've assigned issue 3899 "forbid wc-wc copy/move of conflict victims"
> to myself, but I think it needs a little more discussion.
> The basic idea is that the conflict data (including marker files) includes
> references to "their" version from the repository, which would be invalid
> anywhere else in the working copy.
Why would a repos location be invalid? What do you mean exactly?
> In an issue comment, Philip says:
> Perhaps we should simply prohibit copies where a conflict exists?
> That would also solve another problem: actual-only node conflicts
> are not copied.
> Along those lines, I propose to forbid copy or moving:
> 1. any conflict victim (text, property, or tree)
> 2. any directory containing conflicted children
> 3. any child of a tree-conflicted directory
> These apply to the move/copy source only. Resolving a tree conflict
> may require copying or moving an item /into/ a conflicted tree.
> Also, a property conflict on a directory should not prevent copying or
> moving the directory's children.
> I have a simple solution for #1 above, and the beginning of a test.
> I'll commit them if I get a +1.
Received on 2011-05-26 16:33:19 CEST