##// END OF EJS Templates
log -b: use opts.get() instead of assuming opts is correctly filled
Benoit Boissinot -
r10963:9e314c5e default
parent child Browse files
Show More
@@ -2161,8 +2161,8 b' def log(ui, repo, *pats, **opts):'
2161 if opts["date"]:
2161 if opts["date"]:
2162 df = util.matchdate(opts["date"])
2162 df = util.matchdate(opts["date"])
2163
2163
2164 opts['branch'] += opts.get('only_branch')
2164 branches = opts.get('branch', []) + opts.get('only_branch', [])
2165 opts['branch'] = [repo.lookupbranch(b) for b in opts['branch']]
2165 opts['branch'] = [repo.lookupbranch(b) for b in branches]
2166
2166
2167 displayer = cmdutil.show_changeset(ui, repo, opts, True, matchfn)
2167 displayer = cmdutil.show_changeset(ui, repo, opts, True, matchfn)
2168 def prep(ctx, fns):
2168 def prep(ctx, fns):
General Comments 0
You need to be logged in to leave comments. Login now