Mercurial > hg-stable
diff tests/test-glog.t @ 35927:572f36e9a780
logcmdutil: drop redundant "log" from function names (API)
A few exceptions:
- s/loglimit/getlimit/ to avoid name conflict
- s/_logrevs/_initialrevs/ to clarify its functionality
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 21 Jan 2018 12:48:39 +0900 |
parents | 7625b4f7db70 |
children | c8e2d6ed1f9e |
line wrap: on
line diff
--- a/tests/test-glog.t Sun Jan 21 12:36:43 2018 +0900 +++ b/tests/test-glog.t Sun Jan 21 12:48:39 2018 +0900 @@ -93,11 +93,11 @@ > ) > > def logrevset(repo, pats, opts): - > revs = logcmdutil._logrevs(repo, opts) + > revs = logcmdutil._initialrevs(repo, opts) > if not revs: > return None - > match, pats, slowpath = logcmdutil._makelogmatcher(repo, revs, pats, opts) - > return logcmdutil._makelogrevset(repo, match, pats, slowpath, opts) + > match, pats, slowpath = logcmdutil._makematcher(repo, revs, pats, opts) + > return logcmdutil._makerevset(repo, match, pats, slowpath, opts) > > def uisetup(ui): > def printrevset(orig, repo, pats, opts):