##// END OF EJS Templates
hgweb: ignore filtered revision in revnav...
Pierre-Yves David -
r18426:01638b51 default
parent child Browse files
Show More
@@ -88,6 +88,8 b' class revnav(object):'
88 navbefore = [("(0)", self.hex(0))]
88 navbefore = [("(0)", self.hex(0))]
89 navafter = []
89 navafter = []
90 for rev in targets:
90 for rev in targets:
91 if rev not in self._revlog:
92 continue
91 if pos < rev < limit:
93 if pos < rev < limit:
92 navafter.append(("+%d" % f, self.hex(rev)))
94 navafter.append(("+%d" % f, self.hex(rev)))
93 if 0 < rev < pos:
95 if 0 < rev < pos:
@@ -679,16 +679,15 b' check hgweb does not explode'
679 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
679 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
680 $ cat hg.pid >> $DAEMON_PIDS
680 $ cat hg.pid >> $DAEMON_PIDS
681
681
682 #check changelog view
682 check changelog view
683 #
683
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
692 check filelog view
691 check filelog view
693
692
694 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg id --debug --id`/'babar'
693 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg id --debug --id`/'babar'
General Comments 0
You need to be logged in to leave comments. Login now