##// END OF EJS Templates
minor hg grep simplification
Matt Mackall -
r3530:cd221659 default
parent child Browse files
Show More
@@ -1491,8 +1491,7 b' def grep(ui, repo, pattern, *pats, **opt'
1491 incrementing = rev
1491 incrementing = rev
1492 matches.clear()
1492 matches.clear()
1493 elif st == 'add':
1493 elif st == 'add':
1494 change = repo.changelog.read(repo.lookup(str(rev)))
1494 mf = repo.changectx(rev).manifest()
1495 mf = repo.manifest.read(change[0])
1496 matches[rev] = {}
1495 matches[rev] = {}
1497 for fn in fns:
1496 for fn in fns:
1498 if fn in skip:
1497 if fn in skip:
General Comments 0
You need to be logged in to leave comments. Login now