Show More
@@ -3393,6 +3393,7 b' def log(ui, repo, *pats, **opts):' | |||||
3393 | Returns 0 on success. |
|
3393 | Returns 0 on success. | |
3394 |
|
3394 | |||
3395 | """ |
|
3395 | """ | |
|
3396 | opts = pycompat.byteskwargs(opts) | |||
3396 | if opts.get('follow') and opts.get('rev'): |
|
3397 | if opts.get('follow') and opts.get('rev'): | |
3397 | opts['rev'] = [revsetlang.formatspec('reverse(::%lr)', opts.get('rev'))] |
|
3398 | opts['rev'] = [revsetlang.formatspec('reverse(::%lr)', opts.get('rev'))] | |
3398 | del opts['follow'] |
|
3399 | del opts['follow'] |
@@ -52,7 +52,7 b' out some potential warnings that come fr' | |||||
52 | $ $PYTHON3 $HGBIN files | wc -l |
|
52 | $ $PYTHON3 $HGBIN files | wc -l | |
53 | \s*15 (re) |
|
53 | \s*15 (re) | |
54 |
|
54 | |||
55 | Test if `hg tip` works: |
|
55 | Test if log-like commands work: | |
56 |
|
56 | |||
57 | $ $PYTHON3 $HGBIN tip |
|
57 | $ $PYTHON3 $HGBIN tip | |
58 | changeset: 10:e76ed1e480ef |
|
58 | changeset: 10:e76ed1e480ef | |
@@ -62,6 +62,13 b' Test if `hg tip` works:' | |||||
62 | summary: Fix linking of changeset revs when merging |
|
62 | summary: Fix linking of changeset revs when merging | |
63 |
|
63 | |||
64 |
|
64 | |||
|
65 | $ $PYTHON3 $HGBIN log -r0 | |||
|
66 | changeset: 0:9117c6561b0b | |||
|
67 | user: mpm@selenic.com | |||
|
68 | date: Tue May 03 13:16:10 2005 -0800 | |||
|
69 | summary: Add back links from file revisions to changeset revisions | |||
|
70 | ||||
|
71 | ||||
65 | $ cd .. |
|
72 | $ cd .. | |
66 | #endif |
|
73 | #endif | |
67 |
|
74 |
General Comments 0
You need to be logged in to leave comments.
Login now