Show More
@@ -1127,7 +1127,7 class localrepository(object): | |||||
1127 | text = fctx.data() |
|
1127 | text = fctx.data() | |
1128 | flog = self.file(fname) |
|
1128 | flog = self.file(fname) | |
1129 | fparent1 = manifest1.get(fname, nullid) |
|
1129 | fparent1 = manifest1.get(fname, nullid) | |
1130 |
fparent2 |
|
1130 | fparent2 = manifest2.get(fname, nullid) | |
1131 |
|
1131 | |||
1132 | meta = {} |
|
1132 | meta = {} | |
1133 | copy = fctx.renamed() |
|
1133 | copy = fctx.renamed() | |
@@ -1193,9 +1193,8 class localrepository(object): | |||||
1193 | if fparent2 != nullid or flog.cmp(fparent1, text) or meta: |
|
1193 | if fparent2 != nullid or flog.cmp(fparent1, text) or meta: | |
1194 | changelist.append(fname) |
|
1194 | changelist.append(fname) | |
1195 | return flog.add(text, meta, tr, linkrev, fparent1, fparent2) |
|
1195 | return flog.add(text, meta, tr, linkrev, fparent1, fparent2) | |
1196 |
|
||||
1197 | # are just the flags changed during merge? |
|
1196 | # are just the flags changed during merge? | |
1198 |
if f |
|
1197 | elif fname in manifest1 and manifest1.flags(fname) != fctx.flags(): | |
1199 | changelist.append(fname) |
|
1198 | changelist.append(fname) | |
1200 |
|
1199 | |||
1201 | return fparent1 |
|
1200 | return fparent1 |
@@ -32,17 +32,19 manifest of p1: | |||||
32 | $ hg merge |
|
32 | $ hg merge | |
33 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
33 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
34 | (branch merge, don't forget to commit) |
|
34 | (branch merge, don't forget to commit) | |
|
35 | $ chmod +x foo | |||
35 |
$ |
|
36 | $ hg ci -m 'merge' | |
36 |
|
37 | |||
37 | this should not mention bar: |
|
38 | this should not mention bar but should mention foo: | |
38 |
|
39 | |||
39 | $ hg tip -v |
|
40 | $ hg tip -v | |
40 |
changeset: 3: |
|
41 | changeset: 3:c53d17ff3380 | |
41 | tag: tip |
|
42 | tag: tip | |
42 | parent: 2:ed1b79f46b9a |
|
43 | parent: 2:ed1b79f46b9a | |
43 | parent: 1:d394a8db219b |
|
44 | parent: 1:d394a8db219b | |
44 | user: test |
|
45 | user: test | |
45 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
46 | date: Thu Jan 01 00:00:00 1970 +0000 | |
|
47 | files: foo | |||
46 | description: |
|
48 | description: | |
47 | merge |
|
49 | merge | |
48 |
|
50 |
General Comments 0
You need to be logged in to leave comments.
Login now