diff tests/test-glog.t @ 35685:659dfbd852e2

log: extract function that processes log file patterns We'll need a matcher to compute revs followed from the given patterns.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 03 Jan 2018 15:13:22 +0900
parents 1c929b4942a3
children b25fa5da4ca2
line wrap: on
line diff
--- a/tests/test-glog.t	Sun Dec 10 17:28:44 2017 +0900
+++ b/tests/test-glog.t	Wed Jan 03 15:13:22 2018 +0900
@@ -95,7 +95,8 @@
   >     revs = cmdutil._logrevs(repo, opts)
   >     if not revs:
   >         return None
-  >     return cmdutil._makelogrevset(repo, pats, opts)[0]
+  >     match, pats, slowpath = cmdutil._makelogmatcher(repo, pats, opts)
+  >     return cmdutil._makelogrevset(repo, match, pats, slowpath, opts)[0]
   > 
   > def uisetup(ui):
   >     def printrevset(orig, repo, pats, opts):