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