Show More
@@ -0,0 +1,19 b'' | |||||
|
1 | #!/bin/sh | |||
|
2 | # a test for issue586 | |||
|
3 | ||||
|
4 | hg init a | |||
|
5 | cd a | |||
|
6 | echo a > a | |||
|
7 | hg ci -Ama | |||
|
8 | ||||
|
9 | hg init ../b | |||
|
10 | cd ../b | |||
|
11 | echo b > b | |||
|
12 | hg ci -Amb | |||
|
13 | ||||
|
14 | hg pull -f ../a | |||
|
15 | hg merge | |||
|
16 | hg rm -f a | |||
|
17 | hg ci -Amc | |||
|
18 | ||||
|
19 | hg st -A |
@@ -0,0 +1,13 b'' | |||||
|
1 | adding a | |||
|
2 | adding b | |||
|
3 | pulling from ../a | |||
|
4 | searching for changes | |||
|
5 | warning: repository is unrelated | |||
|
6 | adding changesets | |||
|
7 | adding manifests | |||
|
8 | adding file changes | |||
|
9 | added 1 changesets with 1 changes to 1 files (+1 heads) | |||
|
10 | (run 'hg heads' to see heads, 'hg merge' to merge) | |||
|
11 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
12 | (branch merge, don't forget to commit) | |||
|
13 | C b |
@@ -810,6 +810,8 b' class localrepository(repo.repository):' | |||||
810 | if f in m1: |
|
810 | if f in m1: | |
811 | del m1[f] |
|
811 | del m1[f] | |
812 | removed.append(f) |
|
812 | removed.append(f) | |
|
813 | elif f in m2: | |||
|
814 | removed.append(f) | |||
813 | mn = self.manifest.add(m1, tr, linkrev, c1[0], c2[0], (new, removed)) |
|
815 | mn = self.manifest.add(m1, tr, linkrev, c1[0], c2[0], (new, removed)) | |
814 |
|
816 | |||
815 | # add changeset |
|
817 | # add changeset |
General Comments 0
You need to be logged in to leave comments.
Login now