Mercurial > hg
comparison tests/test-hgweb-commands.t @ 16129:5e50982c633c
graph: in hgrc specify line width for main branch
You can specify width to visually distinguish main branch (trunk)
on hgweb's graph page. Settings format is branch_name.width = value,
where width in px e.g.:
[graph]
default.width = 3
author | Constantine Linnick <theaspect@gmail.com> |
---|---|
date | Sun, 22 Jan 2012 19:35:26 +0700 |
parents | fc8c7a5ccc4a |
children | 33f702e52906 |
comparison
equal
deleted
inserted
replaced
16128:004982e5d782 | 16129:5e50982c633c |
---|---|
22 $ echo another > foo | 22 $ echo another > foo |
23 $ hg branch stable | 23 $ hg branch stable |
24 marked working directory as branch stable | 24 marked working directory as branch stable |
25 (branches are permanent and global, did you want a bookmark?) | 25 (branches are permanent and global, did you want a bookmark?) |
26 $ hg ci -Ambranch | 26 $ hg ci -Ambranch |
27 $ hg branch unstable | |
28 marked working directory as branch unstable | |
29 (branches are permanent and global, did you want a bookmark?) | |
30 $ hg ci -Ambranch | |
31 $ echo [graph] >> .hg/hgrc | |
32 $ echo default.width = 3 >> .hg/hgrc | |
33 $ echo stable.width = 3 >> .hg/hgrc | |
27 $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log | 34 $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
28 $ cat hg.pid >> $DAEMON_PIDS | 35 $ cat hg.pid >> $DAEMON_PIDS |
29 | 36 |
30 Logs and changes | 37 Logs and changes |
31 | 38 |
39 <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) | 46 <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) |
40 <link rel="alternate" href="http://*:$HGPORT/"/> (glob) | 47 <link rel="alternate" href="http://*:$HGPORT/"/> (glob) |
41 <title>test Changelog</title> | 48 <title>test Changelog</title> |
42 <updated>1970-01-01T00:00:00+00:00</updated> | 49 <updated>1970-01-01T00:00:00+00:00</updated> |
43 | 50 |
51 <entry> | |
52 <title>branch</title> | |
53 <id>http://*:$HGPORT/#changeset-ba87b23d29ca67a305625d81a20ac279c1e3f444</id> (glob) | |
54 <link href="http://*:$HGPORT/rev/ba87b23d29ca"/> (glob) | |
55 <author> | |
56 <name>test</name> | |
57 <email>test</email> | |
58 </author> | |
59 <updated>1970-01-01T00:00:00+00:00</updated> | |
60 <published>1970-01-01T00:00:00+00:00</published> | |
61 <content type="xhtml"> | |
62 <div xmlns="http://www.w3.org/1999/xhtml"> | |
63 <pre xml:space="preserve">branch</pre> | |
64 </div> | |
65 </content> | |
66 </entry> | |
44 <entry> | 67 <entry> |
45 <title>branch</title> | 68 <title>branch</title> |
46 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) | 69 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) |
47 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) | 70 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) |
48 <author> | 71 <author> |
103 <title>test Changelog</title> | 126 <title>test Changelog</title> |
104 <updated>1970-01-01T00:00:00+00:00</updated> | 127 <updated>1970-01-01T00:00:00+00:00</updated> |
105 | 128 |
106 <entry> | 129 <entry> |
107 <title>branch</title> | 130 <title>branch</title> |
131 <id>http://*:$HGPORT/#changeset-ba87b23d29ca67a305625d81a20ac279c1e3f444</id> (glob) | |
132 <link href="http://*:$HGPORT/rev/ba87b23d29ca"/> (glob) | |
133 <author> | |
134 <name>test</name> | |
135 <email>test</email> | |
136 </author> | |
137 <updated>1970-01-01T00:00:00+00:00</updated> | |
138 <published>1970-01-01T00:00:00+00:00</published> | |
139 <content type="xhtml"> | |
140 <div xmlns="http://www.w3.org/1999/xhtml"> | |
141 <pre xml:space="preserve">branch</pre> | |
142 </div> | |
143 </content> | |
144 </entry> | |
145 <entry> | |
146 <title>branch</title> | |
108 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) | 147 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) |
109 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) | 148 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) |
110 <author> | 149 <author> |
111 <name>test</name> | 150 <name>test</name> |
112 <email>test</email> | 151 <email>test</email> |
206 <a href="http://mercurial.selenic.com/"> | 245 <a href="http://mercurial.selenic.com/"> |
207 <img src="/static/hglogo.png" alt="mercurial" /></a> | 246 <img src="/static/hglogo.png" alt="mercurial" /></a> |
208 </div> | 247 </div> |
209 <ul> | 248 <ul> |
210 <li class="active">log</li> | 249 <li class="active">log</li> |
211 <li><a href="/graph/1d22e65f027e">graph</a></li> | 250 <li><a href="/graph/ba87b23d29ca">graph</a></li> |
212 <li><a href="/tags">tags</a></li> | 251 <li><a href="/tags">tags</a></li> |
213 <li><a href="/bookmarks">bookmarks</a></li> | 252 <li><a href="/bookmarks">bookmarks</a></li> |
214 <li><a href="/branches">branches</a></li> | 253 <li><a href="/branches">branches</a></li> |
215 </ul> | 254 </ul> |
216 <ul> | 255 <ul> |
217 <li><a href="/rev/1d22e65f027e">changeset</a></li> | 256 <li><a href="/rev/ba87b23d29ca">changeset</a></li> |
218 <li><a href="/file/1d22e65f027e">browse</a></li> | 257 <li><a href="/file/ba87b23d29ca">browse</a></li> |
219 </ul> | 258 </ul> |
220 <ul> | 259 <ul> |
221 | 260 |
222 </ul> | 261 </ul> |
223 <ul> | 262 <ul> |
235 <div id="hint">find changesets by author, revision, | 274 <div id="hint">find changesets by author, revision, |
236 files, or words in the commit message</div> | 275 files, or words in the commit message</div> |
237 </form> | 276 </form> |
238 | 277 |
239 <div class="navigate"> | 278 <div class="navigate"> |
240 <a href="/shortlog/2?revcount=30">less</a> | 279 <a href="/shortlog/3?revcount=30">less</a> |
241 <a href="/shortlog/2?revcount=120">more</a> | 280 <a href="/shortlog/3?revcount=120">more</a> |
242 | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> | 281 | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> |
243 </div> | 282 </div> |
244 | 283 |
245 <table class="bigtable"> | 284 <table class="bigtable"> |
246 <tr> | 285 <tr> |
247 <th class="age">age</th> | 286 <th class="age">age</th> |
249 <th class="description">description</th> | 288 <th class="description">description</th> |
250 </tr> | 289 </tr> |
251 <tr class="parity0"> | 290 <tr class="parity0"> |
252 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td> | 291 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td> |
253 <td class="author">test</td> | 292 <td class="author">test</td> |
254 <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> <span class="tag">tip</span> <span class="tag">something</span> </td> | 293 <td class="description"><a href="/rev/ba87b23d29ca">branch</a><span class="branchhead">unstable</span> <span class="tag">tip</span> <span class="tag">something</span> </td> |
255 </tr> | 294 </tr> |
256 <tr class="parity1"> | 295 <tr class="parity1"> |
257 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td> | 296 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td> |
258 <td class="author">test</td> | 297 <td class="author">test</td> |
259 <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td> | 298 <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> </td> |
260 </tr> | 299 </tr> |
261 <tr class="parity0"> | 300 <tr class="parity0"> |
262 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td> | 301 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td> |
263 <td class="author">test</td> | 302 <td class="author">test</td> |
303 <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td> | |
304 </tr> | |
305 <tr class="parity1"> | |
306 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td> | |
307 <td class="author">test</td> | |
264 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td> | 308 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td> |
265 </tr> | 309 </tr> |
266 | 310 |
267 </table> | 311 </table> |
268 | 312 |
269 <div class="navigate"> | 313 <div class="navigate"> |
270 <a href="/shortlog/2?revcount=30">less</a> | 314 <a href="/shortlog/3?revcount=30">less</a> |
271 <a href="/shortlog/2?revcount=120">more</a> | 315 <a href="/shortlog/3?revcount=120">more</a> |
272 | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> | 316 | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> |
273 </div> | 317 </div> |
274 | 318 |
275 </div> | 319 </div> |
276 </div> | 320 </div> |
277 | 321 |
635 Overviews | 679 Overviews |
636 | 680 |
637 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-tags' | 681 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-tags' |
638 200 Script output follows | 682 200 Script output follows |
639 | 683 |
640 tip 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe | 684 tip ba87b23d29ca67a305625d81a20ac279c1e3f444 |
641 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f | 685 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f |
642 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-branches' | 686 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-branches' |
643 200 Script output follows | 687 200 Script output follows |
644 | 688 |
645 stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe open | 689 unstable ba87b23d29ca67a305625d81a20ac279c1e3f444 open |
690 stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe inactive | |
646 default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive | 691 default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive |
647 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-bookmarks' | 692 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-bookmarks' |
648 200 Script output follows | 693 200 Script output follows |
649 | 694 |
650 anotherthing 2ef0ac749a14e4f57a5a822464a0902c6f7f448f | 695 anotherthing 2ef0ac749a14e4f57a5a822464a0902c6f7f448f |
651 something 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe | 696 something ba87b23d29ca67a305625d81a20ac279c1e3f444 |
652 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' | 697 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' |
653 200 Script output follows | 698 200 Script output follows |
654 | 699 |
655 <?xml version="1.0" encoding="ascii"?> | 700 <?xml version="1.0" encoding="ascii"?> |
656 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 701 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
686 <a href="/log?style=gitweb">changelog</a> | | 731 <a href="/log?style=gitweb">changelog</a> | |
687 <a href="/graph?style=gitweb">graph</a> | | 732 <a href="/graph?style=gitweb">graph</a> | |
688 <a href="/tags?style=gitweb">tags</a> | | 733 <a href="/tags?style=gitweb">tags</a> | |
689 <a href="/bookmarks?style=gitweb">bookmarks</a> | | 734 <a href="/bookmarks?style=gitweb">bookmarks</a> | |
690 <a href="/branches?style=gitweb">branches</a> | | 735 <a href="/branches?style=gitweb">branches</a> | |
691 <a href="/file/1d22e65f027e?style=gitweb">files</a> | | 736 <a href="/file/ba87b23d29ca?style=gitweb">files</a> | |
692 <a href="/help?style=gitweb">help</a> | 737 <a href="/help?style=gitweb">help</a> |
693 <br/> | 738 <br/> |
694 </div> | 739 </div> |
695 | 740 |
696 <div class="title"> </div> | 741 <div class="title"> </div> |
705 | 750 |
706 <tr class="parity0"> | 751 <tr class="parity0"> |
707 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | 752 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> |
708 <td><i>test</i></td> | 753 <td><i>test</i></td> |
709 <td> | 754 <td> |
755 <a class="list" href="/rev/ba87b23d29ca?style=gitweb"> | |
756 <b>branch</b> | |
757 <span class="logtags"><span class="branchtag" title="unstable">unstable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span> | |
758 </a> | |
759 </td> | |
760 <td class="link" nowrap> | |
761 <a href="/rev/ba87b23d29ca?style=gitweb">changeset</a> | | |
762 <a href="/file/ba87b23d29ca?style=gitweb">files</a> | |
763 </td> | |
764 </tr> | |
765 <tr class="parity1"> | |
766 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | |
767 <td><i>test</i></td> | |
768 <td> | |
710 <a class="list" href="/rev/1d22e65f027e?style=gitweb"> | 769 <a class="list" href="/rev/1d22e65f027e?style=gitweb"> |
711 <b>branch</b> | 770 <b>branch</b> |
712 <span class="logtags"><span class="branchtag" title="stable">stable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span> | 771 <span class="logtags"><span class="branchtag" title="stable">stable</span> </span> |
713 </a> | 772 </a> |
714 </td> | 773 </td> |
715 <td class="link" nowrap> | 774 <td class="link" nowrap> |
716 <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> | | 775 <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> | |
717 <a href="/file/1d22e65f027e?style=gitweb">files</a> | 776 <a href="/file/1d22e65f027e?style=gitweb">files</a> |
718 </td> | 777 </td> |
719 </tr> | 778 </tr> |
720 <tr class="parity1"> | 779 <tr class="parity0"> |
721 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | 780 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> |
722 <td><i>test</i></td> | 781 <td><i>test</i></td> |
723 <td> | 782 <td> |
724 <a class="list" href="/rev/a4f92ed23982?style=gitweb"> | 783 <a class="list" href="/rev/a4f92ed23982?style=gitweb"> |
725 <b>Added tag 1.0 for changeset 2ef0ac749a14</b> | 784 <b>Added tag 1.0 for changeset 2ef0ac749a14</b> |
729 <td class="link" nowrap> | 788 <td class="link" nowrap> |
730 <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> | | 789 <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> | |
731 <a href="/file/a4f92ed23982?style=gitweb">files</a> | 790 <a href="/file/a4f92ed23982?style=gitweb">files</a> |
732 </td> | 791 </td> |
733 </tr> | 792 </tr> |
734 <tr class="parity0"> | 793 <tr class="parity1"> |
735 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | 794 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> |
736 <td><i>test</i></td> | 795 <td><i>test</i></td> |
737 <td> | 796 <td> |
738 <a class="list" href="/rev/2ef0ac749a14?style=gitweb"> | 797 <a class="list" href="/rev/2ef0ac749a14?style=gitweb"> |
739 <b>base</b> | 798 <b>base</b> |
775 <a href="/file/2ef0ac749a14?style=gitweb">files</a> | 834 <a href="/file/2ef0ac749a14?style=gitweb">files</a> |
776 </td> | 835 </td> |
777 </tr> | 836 </tr> |
778 <tr class="parity1"> | 837 <tr class="parity1"> |
779 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | 838 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> |
780 <td><a class="list" href="/rev/1d22e65f027e?style=gitweb"><b>something</b></a></td> | 839 <td><a class="list" href="/rev/ba87b23d29ca?style=gitweb"><b>something</b></a></td> |
781 <td class="link"> | 840 <td class="link"> |
782 <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> | | 841 <a href="/rev/ba87b23d29ca?style=gitweb">changeset</a> | |
783 <a href="/log/1d22e65f027e?style=gitweb">changelog</a> | | 842 <a href="/log/ba87b23d29ca?style=gitweb">changelog</a> | |
784 <a href="/file/1d22e65f027e?style=gitweb">files</a> | 843 <a href="/file/ba87b23d29ca?style=gitweb">files</a> |
785 </td> | 844 </td> |
786 </tr> | 845 </tr> |
787 <tr class="light"><td colspan="3"><a class="list" href="/bookmarks?style=gitweb">...</a></td></tr> | 846 <tr class="light"><td colspan="3"><a class="list" href="/bookmarks?style=gitweb">...</a></td></tr> |
788 </table> | 847 </table> |
789 | 848 |
790 <div><a class="title" href="#">branches</a></div> | 849 <div><a class="title" href="#">branches</a></div> |
791 <table cellspacing="0"> | 850 <table cellspacing="0"> |
792 | 851 |
793 <tr class="parity0"> | 852 <tr class="parity0"> |
853 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | |
854 <td><a class="list" href="/shortlog/ba87b23d29ca?style=gitweb"><b>ba87b23d29ca</b></a></td> | |
855 <td class="">unstable</td> | |
856 <td class="link"> | |
857 <a href="/changeset/ba87b23d29ca?style=gitweb">changeset</a> | | |
858 <a href="/log/ba87b23d29ca?style=gitweb">changelog</a> | | |
859 <a href="/file/ba87b23d29ca?style=gitweb">files</a> | |
860 </td> | |
861 </tr> | |
862 <tr class="parity1"> | |
794 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | 863 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> |
795 <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td> | 864 <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td> |
796 <td class="">stable</td> | 865 <td class="">stable</td> |
797 <td class="link"> | 866 <td class="link"> |
798 <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> | | 867 <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> | |
799 <a href="/log/1d22e65f027e?style=gitweb">changelog</a> | | 868 <a href="/log/1d22e65f027e?style=gitweb">changelog</a> | |
800 <a href="/file/1d22e65f027e?style=gitweb">files</a> | 869 <a href="/file/1d22e65f027e?style=gitweb">files</a> |
801 </td> | 870 </td> |
802 </tr> | 871 </tr> |
803 <tr class="parity1"> | 872 <tr class="parity0"> |
804 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> | 873 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td> |
805 <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td> | 874 <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td> |
806 <td class="">default</td> | 875 <td class="">default</td> |
807 <td class="link"> | 876 <td class="link"> |
808 <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> | | 877 <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> | |
859 </div> | 928 </div> |
860 </form> | 929 </form> |
861 <div class="page_nav"> | 930 <div class="page_nav"> |
862 <a href="/summary?style=gitweb">summary</a> | | 931 <a href="/summary?style=gitweb">summary</a> | |
863 <a href="/shortlog?style=gitweb">shortlog</a> | | 932 <a href="/shortlog?style=gitweb">shortlog</a> | |
864 <a href="/log/2?style=gitweb">changelog</a> | | 933 <a href="/log/3?style=gitweb">changelog</a> | |
865 graph | | 934 graph | |
866 <a href="/tags?style=gitweb">tags</a> | | 935 <a href="/tags?style=gitweb">tags</a> | |
867 <a href="/bookmarks?style=gitweb">bookmarks</a> | | 936 <a href="/bookmarks?style=gitweb">bookmarks</a> | |
868 <a href="/branches?style=gitweb">branches</a> | | 937 <a href="/branches?style=gitweb">branches</a> | |
869 <a href="/file/1d22e65f027e?style=gitweb">files</a> | | 938 <a href="/file/ba87b23d29ca?style=gitweb">files</a> | |
870 <a href="/help?style=gitweb">help</a> | 939 <a href="/help?style=gitweb">help</a> |
871 <br/> | 940 <br/> |
872 <a href="/graph/2?style=gitweb&revcount=30">less</a> | 941 <a href="/graph/3?style=gitweb&revcount=30">less</a> |
873 <a href="/graph/2?style=gitweb&revcount=120">more</a> | 942 <a href="/graph/3?style=gitweb&revcount=120">more</a> |
874 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> <br/> | 943 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-3</a> <a href="/graph/tip?style=gitweb">tip</a> <br/> |
875 </div> | 944 </div> |
876 | 945 |
877 <div class="title"> </div> | 946 <div class="title"> </div> |
878 | 947 |
879 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> | 948 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> |
880 | 949 |
881 <div id="wrapper"> | 950 <div id="wrapper"> |
882 <ul id="nodebgs"></ul> | 951 <ul id="nodebgs"></ul> |
883 <canvas id="graph" width="480" height="129"></canvas> | 952 <canvas id="graph" width="480" height="168"></canvas> |
884 <ul id="graphnodes"></ul> | 953 <ul id="graphnodes"></ul> |
885 </div> | 954 </div> |
886 | 955 |
887 <script> | 956 <script> |
888 <!-- hide script content | 957 <!-- hide script content |
889 | 958 |
890 var data = [["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", true], ["tip"], ["something"]], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], ["anotherthing"]]]; | 959 var data = [["ba87b23d29ca", [0, 1], [[0, 0, 1, {"width": "3"}]], "branch", "test", "1970-01-01", ["unstable", true], ["tip"], ["something"]], ["1d22e65f027e", [0, 1], [[0, 0, 1, {"width": "3"}]], "branch", "test", "1970-01-01", ["stable", true], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1, {"width": "3"}]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], ["anotherthing"]]]; |
891 var graph = new Graph(); | 960 var graph = new Graph(); |
892 graph.scale(39); | 961 graph.scale(39); |
893 | 962 |
894 graph.edge = function(x0, y0, x1, y1, color) { | 963 graph.edge = function(x0, y0, x1, y1, color) { |
895 | 964 |
958 | 1027 |
959 // stop hiding script --> | 1028 // stop hiding script --> |
960 </script> | 1029 </script> |
961 | 1030 |
962 <div class="page_nav"> | 1031 <div class="page_nav"> |
963 <a href="/graph/2?style=gitweb&revcount=30">less</a> | 1032 <a href="/graph/3?style=gitweb&revcount=30">less</a> |
964 <a href="/graph/2?style=gitweb&revcount=120">more</a> | 1033 <a href="/graph/3?style=gitweb&revcount=120">more</a> |
965 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> | 1034 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-3</a> <a href="/graph/tip?style=gitweb">tip</a> |
966 </div> | 1035 </div> |
967 | 1036 |
968 <script type="text/javascript">process_dates()</script> | 1037 <script type="text/javascript">process_dates()</script> |
969 <div class="page_footer"> | 1038 <div class="page_footer"> |
970 <div class="page_footer_text">test</div> | 1039 <div class="page_footer_text">test</div> |
989 heads | 1058 heads |
990 | 1059 |
991 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' | 1060 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' |
992 200 Script output follows | 1061 200 Script output follows |
993 | 1062 |
994 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe | 1063 ba87b23d29ca67a305625d81a20ac279c1e3f444 |
995 | 1064 |
996 branches | 1065 branches |
997 | 1066 |
998 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches&nodes=0000000000000000000000000000000000000000' | 1067 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches&nodes=0000000000000000000000000000000000000000' |
999 200 Script output follows | 1068 200 Script output follows |
1003 changegroup | 1072 changegroup |
1004 | 1073 |
1005 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000' | 1074 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000' |
1006 200 Script output follows | 1075 200 Script output follows |
1007 | 1076 |
1008 x\x9c\xbdTMHUA\x14\xbe\xa8\xf9\xec\xda&\x10\x11*\xb8\x88\x81\x99\xbef\xe6\xce\xbdw\xc6\xf2a\x16E\x1b\x11[%\x98\xcc\xaf\x8f\x8c\xf7\xc0\xf7\x82 (esc) | 1077 x\x9c\xbdTMHTQ\x14\x1e\xfc\xef\xd9&\x10\x11*x\x88\x81\x9aN\xf7\xddw\xdf{\xf7Y\x0efR\xb4\x11\xb1U\x82\xc5\xfd\x9d!c\x06\x9c'd\xa0\x99X\x82\x92i\xablUZ-*\x08\x84\x82\x02KkQ\xf8\x13\xe4\xaa\x8dn\x94\x906)\xd5B\x02\xeb\xbe\x9c\x01\x85\xc9\x996\x1d\xf8x\x97{\xefy\xe7;\xe7|\xe7\x06\x02\x81\xb1\xe0\xda\x13\xefN\xd1\xca\x8f\xcb-\xbde\xfc\xeepU\xecJ\xc3\xcd@\x86\x96\xc6\xb7^`\xe9"[H\xe4\x18T\x1a\x16p]\xc3\x96\x14\x13\xcbt\xa1tM\x0c\x1c\x0b2,M\xcd\x13qO\x03:\xd089"c1\xcd\x87FI\\\xa8\xbf|\xbc\xbf\x11\\p{_\xe5\xb6\xddn^j\xdd\xec\x0f=z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\x19*\xd4*\x14\x04#a\x8f\x84\xe3\xfe^\xc8OS\xa1\xfc8\xe7\x82\xebj[7\x82@\x97\xb1v\x9dEH4,\xe2\xc2\xd3\xa1\x90\x800\x07\xb9\xc4@\xea\xee\xe4\xc1\xd2\xcf\xe7\xb3\xba[\xf2\xf6X\xdd]C\x1d\x05\xf3\x87\x1f,l\xeeBt\x87\xa5\xf2\xdd\x9e\x90*\xa9kC\xac"!\x17\x12)!c\x000\xd7\x05&\xb5\xa9\xc5\xa8-Ln (esc) |
1010 \xb0\x90\x92\x88\xb9\x14"\x068\xc2\x1e@\x00\xbb\x8a)\xd3'\x859 (esc) | 1079 \x0c|\xf2A\x85\x1a\x85bUy\x9d\xb6\x93(\x8b\xd4\xc4=B/\x8a?\rP'G\x15\x98B\xde\xd6\xa9Zy/\xfb'j+f\xc2\xe3\xb9\xb4\xf5\xea\x98\xf6\xa6sz\xf9{\xc3.\xa4vX*\xdf\x04\x0f\xff[\xb4\x8dGG4\xc1$\xe1:\xb9\xbaq\xf2\xeb\xa9\xfd\xebM\xa3\xc5?\x07\xce\xdc\xda\xc0\xf9\xcd\xef\xbf\xa5\xd3g\xd2\xd2\xa8\xa5uKu\x01(8$\xa6k@\x02(D\x16\x80\x00\x99\x82\x08\xa5\r\x81(t\\f`\xea\x02\xce\xb5\x7f\xba\xac\x02\x8c\\x\x98\x9f\xd5\xb7:0W\xdd6\xbf\xd2\xd3s\xa0k\xbd\xeb\xd8L\xa6 \xa5Q\x86\x91Pc\x80\x98\x8cB,L\x07#\x80\x04\x82\xb6\x8d)\xa3\x08X\x02\x00\xear\x0c-`b\x9b\x18>\xa1\x1b\xf9g\xe9@\xd1\xe9\xca_US{G\xb3\x9f?\x9b\x8d\xd6\x86zR\x91LE\xe8/\xdd& (esc) |
1011 \xa8\x80\x84S \xa5\xbd-g\x13`\xe4\xdc\xc3H^\xdf\xe2\xc0TM\xc7\xf4BO\xcf\xde\xae\xe5\xae#\x1frM(K\x97`F\x19\x16s\x05G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bb\xcc}\x8eB\x01\x89\xc6\xbc\x88hO\xa6\x15\xf8\rr4\xb3\xe5 (no-eol) (esc) | |
1012 | 1082 |
1013 stream_out | 1083 stream_out |
1014 | 1084 |
1015 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out' | 1085 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out' |
1016 200 Script output follows | 1086 200 Script output follows |
1151 | 1221 |
1152 Graph json escape of multibyte character | 1222 Graph json escape of multibyte character |
1153 | 1223 |
1154 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/' \ | 1224 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/' \ |
1155 > | grep '^var data =' | 1225 > | grep '^var data =' |
1156 var data = [["40b4d6888e92", [0, 1], [[0, 0, 1]], "\u80fd", "test", "1970-01-01", ["stable", true], ["tip"], ["something"]], ["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", false], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], ["anotherthing"]]]; | 1226 var data = [["548001d11f45", [0, 1], [[0, 0, 1, null]], "\u80fd", "test", "1970-01-01", ["unstable", true], ["tip"], ["something"]], ["ba87b23d29ca", [0, 1], [[0, 0, 1, {"width": "3"}]], "branch", "test", "1970-01-01", ["unstable", false], [], []], ["1d22e65f027e", [0, 1], [[0, 0, 1, {"width": "3"}]], "branch", "test", "1970-01-01", ["stable", true], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1, {"width": "3"}]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], ["anotherthing"]]]; |
1157 | 1227 |
1158 ERRORS ENCOUNTERED | 1228 ERRORS ENCOUNTERED |
1159 | 1229 |
1160 $ cat errors.log | 1230 $ cat errors.log |
1231 |