##// END OF EJS Templates
hgweb: walk the graph through the changelog...
Pierre-Yves David -
r18428:8c10f760 default
parent child Browse files
Show More
@@ -857,7 +857,10 b' def graph(web, req, tmpl):'
857 downrev = max(0, rev - revcount)
857 downrev = max(0, rev - revcount)
858 changenav = webutil.revnav(web.repo).gen(pos, revcount, count)
858 changenav = webutil.revnav(web.repo).gen(pos, revcount, count)
859
859
860 dag = graphmod.dagwalker(web.repo, range(start, end)[::-1])
860 tree = []
861 if start < end:
862 revs = list(web.repo.changelog.revs(end - 1, start))
863 dag = graphmod.dagwalker(web.repo, revs)
861 tree = list(graphmod.colored(dag, web.repo))
864 tree = list(graphmod.colored(dag, web.repo))
862
865
863 def getcolumns(tree):
866 def getcolumns(tree):
@@ -684,15 +684,15 b' check changelog view'
684 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'shortlog/'
684 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'shortlog/'
685 200 Script output follows
685 200 Script output follows
686
686
687 #check graph view
687 check graph view
688 #
688
689 # $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'graph'
689 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'graph'
690 # 200 Script output follows
690 200 Script output follows
691
691 check filelog view
692 check filelog view
692
693
693 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg id --debug --id`/'babar'
694 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg id --debug --id`/'babar'
694 200 Script output follows
695 200 Script output follows
695
696 $ kill `cat hg.pid`
696 $ kill `cat hg.pid`
697
697
698 Checking _enable=False warning if obsolete marker exists
698 Checking _enable=False warning if obsolete marker exists
General Comments 0
You need to be logged in to leave comments. Login now