Patchwork [02,of,15,V3] hgweb: add test regarding filtering and hgweb

login
register
mail settings
Submitter Pierre-Yves David
Date Jan. 16, 2013, 1:32 p.m.
Message ID <af8a1b8a38afe333ab7a.1358343128@crater2.logilab.fr>
Download mbox | patch
Permalink /patch/643/
State Accepted
Commit 683a76a073250dc6ee52b7a4fe4674551d0f6e66
Delegated to: Kevin Bullock
Headers show

Comments

Pierre-Yves David - Jan. 16, 2013, 1:32 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@logilab.fr>
# Date 1358341779 -3600
# Node ID af8a1b8a38afe333ab7a287f35c61e8f9f16b058
# Parent  f1118507174b87df64115ebd3bfd45ee2e21932f
hgweb: add test regarding filtering and hgweb

Since 4d1671b39168 hgweb is broken with filtering. This changeset add test that
should pass once it is fixed. Test currently broken are commented and will be
uncommented by changeset that fix them.

The filelog test is currently passing because we already have some hack in core
regarding filelog (see 518c1403838f).

Patch

diff --git a/tests/bundles/hgweb+obs.hg b/tests/bundles/hgweb+obs.hg
new file mode 100644
index 0000000000000000000000000000000000000000..68d99fbe8140b6ea99a7615e48c59c5af99195ed
GIT binary patch
literal 10686
zc$|f}Q*b3*^Z&bJ+qP|c$M(dwZEFV;+upI02_~7?wrx+GnMv}0e(%+}JKw7ARb8Lz
zUbVVb-?W@82fL)ctpJCF9<8Px>T;AJ0CMo_|5y7o@q<BR&c^AlNj)nsD7qU_s)39z
z!yUskiq<j%c?}2R0D$YWq~zc03%{pEspFC{vl0bcu3Hm$ZFr4T(Se;*8fX~FQf+!Q
z1O?!5u6ds3{6uB8GBUVQTMSm2yReem7KM9>8oUqS&bEb(d;qs`FHuxRM@x&O$>gev
zFR(9^Pe((K!{%}qW|Q0Us4mHb`*GW;s@Y*$S60e=*L*2k9^mBRQt(Ace?(sq;ZjwP
zQdL$iwdCXwk*%_PC@fokhKnPuT((64jQbaYtDwlC#G#bY)Rx3;pJBr;;i~*YA<D$1
zHD4m6pd~?RREvbLp@a~{0002?I{>gGj=~N2KM_Lx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 
   adding changesets
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files (+1 heads)
 
+check hgweb does not explode
+====================================
+
+  $ hg unbundle $TESTDIR/bundles/hgweb+obs.hg
+  adding changesets
+  adding manifests
+  adding file changes
+  added 62 changesets with 63 changes to 9 files (+60 heads)
+  (run 'hg heads .' to see heads, 'hg merge' to merge)
+  $ for node in `hg log -r 'desc(babar_)' --template '{node}\n'`;
+  > do
+  >    hg debugobsolete $node
+  > done
+  $ hg up tip
+  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+
+  $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
+  $ cat hg.pid >> $DAEMON_PIDS
+
+#check changelog view
+#
+#  $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'shortlog/' 
+#  200 Script output follows
+
+#check graph view
+#
+#  $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'graph'
+#  200 Script output follows
+
+check filelog view
+
+  $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg id --debug --id`/'babar'
+  200 Script output follows
+
+  $ kill `cat hg.pid`
+
 Checking _enable=False warning if obsolete marker exists
 
   $ echo '[extensions]' >> $HGRCPATH
   $ echo "obs=!" >> $HGRCPATH
   $ hg log -r tip
-  obsolete feature not enabled but 8 markers found!
-  changeset:   6:3de5eca88c00
+  obsolete feature not enabled but 68 markers found!
+  changeset:   68:c15e9edfca13
   tag:         tip
-  parent:      3:6f9641995072
+  parent:      7:50c51b361e60
   user:        test
   date:        Thu Jan 01 00:00:00 1970 +0000
-  summary:     add obsolete_e
+  summary:     add celestine