annotate tests/test-issue322.out @ 3702:70c3ee224c08
Don't generate git patches that rename a file to multiple destinations
With this patch, instead of generating N renames, we'll generate
1 rename and N-1 copies.
Ideally the rename should come after the copies instead of before
them, but that'd be harder to do.
author |
Alexis S. L. Carvalho <alexis@cecm.usp.br> |
date |
Mon, 20 Nov 2006 19:32:46 -0200 |
parents |
3d5547845158 |
children |
e3dffbdc6522 |
rev |
line source |
2953
|
1 % file replaced with directory
|
|
2 adding a
|
|
3 % should fail - would corrupt dirstate
|
|
4 abort: file named 'a' already in dirstate
|
|
5 % directory replaced with file
|
|
6 adding a/a
|
|
7 % should fail - would corrupt dirstate
|
|
8 abort: directory named 'a' already in dirstate
|
|
9 % directory replaced with file
|
|
10 adding b/c/d
|
|
11 % should fail - would corrupt dirstate
|
|
12 abort: directory named 'b' already in dirstate
|