##// END OF EJS Templates
graphlog: remove too early return from getgraphlogrevs() for empty repo...
Yuya Nishihara -
r24059:8d295ce6 default
parent child Browse files
Show More
@@ -1830,8 +1830,6 b' def getgraphlogrevs(repo, pats, opts):'
1830 callable taking a revision number and returning a match objects
1830 callable taking a revision number and returning a match objects
1831 filtering the files to be detailed when displaying the revision.
1831 filtering the files to be detailed when displaying the revision.
1832 """
1832 """
1833 if not len(repo):
1834 return [], None, None
1835 limit = loglimit(opts)
1833 limit = loglimit(opts)
1836 # Default --rev value depends on --follow but --follow behaviour
1834 # Default --rev value depends on --follow but --follow behaviour
1837 # depends on revisions resolved from --rev...
1835 # depends on revisions resolved from --rev...
@@ -1541,6 +1541,9 b' have 2 filelog topological heads in a li'
1541 $ testlog --follow
1541 $ testlog --follow
1542 []
1542 []
1543 []
1543 []
1544 $ testlog -rnull
1545 ['null']
1546 []
1544 $ echo a > a
1547 $ echo a > a
1545 $ echo aa > aa
1548 $ echo aa > aa
1546 $ echo f > f
1549 $ echo f > f
General Comments 0
You need to be logged in to leave comments. Login now