Show More
@@ -996,7 +996,7 b' def walkchangerevs(repo, match, opts, pr' | |||
|
996 | 996 | defrange = '%s:0' % repo['.'].rev() |
|
997 | 997 | else: |
|
998 | 998 | defrange = '-1:0' |
|
999 |
revs = scmutil.revrange(repo, opts |
|
|
999 | revs = scmutil.revrange(repo, opts.get('rev') or [defrange]) | |
|
1000 | 1000 | if not revs: |
|
1001 | 1001 | return [] |
|
1002 | 1002 | wanted = set() |
@@ -4074,7 +4074,7 b' def log(ui, repo, *pats, **opts):' | |||
|
4074 | 4074 | getrenamed = templatekw.getrenamedfn(repo, endrev=endrev) |
|
4075 | 4075 | |
|
4076 | 4076 | df = False |
|
4077 |
if opts |
|
|
4077 | if opts.get("date"): | |
|
4078 | 4078 | df = util.matchdate(opts["date"]) |
|
4079 | 4079 | |
|
4080 | 4080 | branches = opts.get('branch', []) + opts.get('only_branch', []) |
General Comments 0
You need to be logged in to leave comments.
Login now