##// END OF EJS Templates
revset: drop unnecessary calls of getall() with empty argument...
Yuya Nishihara -
r24201:77ef059b default
parent child Browse files
Show More
@@ -746,7 +746,7 b' def destination(repo, subset, x):'
746 if x is not None:
746 if x is not None:
747 sources = getset(repo, fullreposet(repo), x)
747 sources = getset(repo, fullreposet(repo), x)
748 else:
748 else:
749 sources = getall(repo, fullreposet(repo), x)
749 sources = fullreposet(repo)
750
750
751 dests = set()
751 dests = set()
752
752
@@ -1347,7 +1347,7 b' def origin(repo, subset, x):'
1347 if x is not None:
1347 if x is not None:
1348 dests = getset(repo, fullreposet(repo), x)
1348 dests = getset(repo, fullreposet(repo), x)
1349 else:
1349 else:
1350 dests = getall(repo, fullreposet(repo), x)
1350 dests = fullreposet(repo)
1351
1351
1352 def _firstsrc(rev):
1352 def _firstsrc(rev):
1353 src = _getrevsource(repo, rev)
1353 src = _getrevsource(repo, rev)
General Comments 0
You need to be logged in to leave comments. Login now