Show More
@@ -800,7 +800,7 def _makenofollowfilematcher(repo, pats, | |||||
800 | } |
|
800 | } | |
801 |
|
801 | |||
802 |
|
802 | |||
803 |
def _makerevset(repo |
|
803 | def _makerevset(repo, pats, slowpath, opts): | |
804 | """Return a revset string built from log options and file patterns""" |
|
804 | """Return a revset string built from log options and file patterns""" | |
805 | opts = dict(opts) |
|
805 | opts = dict(opts) | |
806 | # follow or not follow? |
|
806 | # follow or not follow? | |
@@ -896,7 +896,7 def getrevs(repo, pats, opts): | |||||
896 | def filematcher(ctx): |
|
896 | def filematcher(ctx): | |
897 | return match |
|
897 | return match | |
898 |
|
898 | |||
899 |
expr = _makerevset(repo, |
|
899 | expr = _makerevset(repo, pats, slowpath, opts) | |
900 | if opts.get(b'graph'): |
|
900 | if opts.get(b'graph'): | |
901 | if repo.ui.configbool(b'experimental', b'log.topo'): |
|
901 | if repo.ui.configbool(b'experimental', b'log.topo'): | |
902 | if not revs.istopo(): |
|
902 | if not revs.istopo(): |
@@ -16,7 +16,7 def logrevset(repo, pats, opts): | |||||
16 | if not revs: |
|
16 | if not revs: | |
17 | return None |
|
17 | return None | |
18 | match, pats, slowpath = logcmdutil._makematcher(repo, revs, pats, opts) |
|
18 | match, pats, slowpath = logcmdutil._makematcher(repo, revs, pats, opts) | |
19 |
return logcmdutil._makerevset(repo, |
|
19 | return logcmdutil._makerevset(repo, pats, slowpath, opts) | |
20 |
|
20 | |||
21 |
|
21 | |||
22 | def uisetup(ui): |
|
22 | def uisetup(ui): |
General Comments 0
You need to be logged in to leave comments.
Login now