Show More
@@ -4278,9 +4278,8 b' def log(ui, repo, *pats, **opts):' | |||||
4278 | .. note:: |
|
4278 | .. note:: | |
4279 |
|
4279 | |||
4280 | for performance reasons, log FILE may omit duplicate changes |
|
4280 | for performance reasons, log FILE may omit duplicate changes | |
4281 |
made on branches and will not show |
|
4281 | made on branches and will not show removals or mode changes. To | |
4282 | changes including duplicates and deletions, use the --removed |
|
4282 | see all such changes, use the --removed switch. | |
4283 | switch. |
|
|||
4284 |
|
4283 | |||
4285 | .. container:: verbose |
|
4284 | .. container:: verbose | |
4286 |
|
4285 | |||
@@ -4335,6 +4334,7 b' def log(ui, repo, *pats, **opts):' | |||||
4335 | specifying custom templates. |
|
4334 | specifying custom templates. | |
4336 |
|
4335 | |||
4337 | Returns 0 on success. |
|
4336 | Returns 0 on success. | |
|
4337 | ||||
4338 | """ |
|
4338 | """ | |
4339 | if opts.get('graph'): |
|
4339 | if opts.get('graph'): | |
4340 | return cmdutil.graphlog(ui, repo, *pats, **opts) |
|
4340 | return cmdutil.graphlog(ui, repo, *pats, **opts) |
@@ -1126,7 +1126,7 b' class localrepository(object):' | |||||
1126 | text = fctx.data() |
|
1126 | text = fctx.data() | |
1127 | flog = self.file(fname) |
|
1127 | flog = self.file(fname) | |
1128 | fparent1 = manifest1.get(fname, nullid) |
|
1128 | fparent1 = manifest1.get(fname, nullid) | |
1129 |
fparent2 |
|
1129 | fparent2 = manifest2.get(fname, nullid) | |
1130 |
|
1130 | |||
1131 | meta = {} |
|
1131 | meta = {} | |
1132 | copy = fctx.renamed() |
|
1132 | copy = fctx.renamed() | |
@@ -1192,9 +1192,8 b' class localrepository(object):' | |||||
1192 | if fparent2 != nullid or flog.cmp(fparent1, text) or meta: |
|
1192 | if fparent2 != nullid or flog.cmp(fparent1, text) or meta: | |
1193 | changelist.append(fname) |
|
1193 | changelist.append(fname) | |
1194 | return flog.add(text, meta, tr, linkrev, fparent1, fparent2) |
|
1194 | return flog.add(text, meta, tr, linkrev, fparent1, fparent2) | |
1195 |
|
||||
1196 | # are just the flags changed during merge? |
|
1195 | # are just the flags changed during merge? | |
1197 |
if f |
|
1196 | elif fname in manifest1 and manifest1.flags(fname) != fctx.flags(): | |
1198 | changelist.append(fname) |
|
1197 | changelist.append(fname) | |
1199 |
|
1198 | |||
1200 | return fparent1 |
|
1199 | return fparent1 |
@@ -32,17 +32,19 b' 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