tests/test-hgweb-commands.t
branchstable
changeset 13596 270f57d35525
parent 12943 7439ea4146f8
child 13597 38c9837b1f75
equal deleted inserted replaced
13594:64a458707fd4 13596:270f57d35525
    13   $ echo foo > foo
    13   $ echo foo > foo
    14   $ hg ci -Ambase
    14   $ hg ci -Ambase
    15   adding da/foo
    15   adding da/foo
    16   adding foo
    16   adding foo
    17   $ hg tag 1.0
    17   $ hg tag 1.0
       
    18   $ hg bookmark something
    18   $ echo another > foo
    19   $ echo another > foo
    19   $ hg branch stable
    20   $ hg branch stable
    20   marked working directory as branch stable
    21   marked working directory as branch stable
    21   $ hg ci -Ambranch
    22   $ hg ci -Ambranch
    22   $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
    23   $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
   242     <th class="description">description</th>
   243     <th class="description">description</th>
   243    </tr>
   244    </tr>
   244    <tr class="parity0">
   245    <tr class="parity0">
   245     <td class="age">1970-01-01</td>
   246     <td class="age">1970-01-01</td>
   246     <td class="author">test</td>
   247     <td class="author">test</td>
   247     <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> <span class="tag">tip</span> </td>
   248     <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>
   248    </tr>
   249    </tr>
   249    <tr class="parity1">
   250    <tr class="parity1">
   250     <td class="age">1970-01-01</td>
   251     <td class="age">1970-01-01</td>
   251     <td class="author">test</td>
   252     <td class="author">test</td>
   252     <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td>
   253     <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td>
   312   </div>
   313   </div>
   313   
   314   
   314   <div class="main">
   315   <div class="main">
   315   
   316   
   316   <h2><a href="/">test</a></h2>
   317   <h2><a href="/">test</a></h2>
   317   <h3>changeset 0:2ef0ac749a14  <span class="tag">1.0</span> </h3>
   318   <h3>changeset 0:2ef0ac749a14  <span class="tag">1.0</span>  </h3>
   318   
   319   
   319   <form class="search" action="/log">
   320   <form class="search" action="/log">
   320   
   321   
   321   <p><input name="rev" id="search1" type="text" size="30" /></p>
   322   <p><input name="rev" id="search1" type="text" size="30" /></p>
   322   <div id="hint">find changesets by author, revision,
   323   <div id="hint">find changesets by author, revision,
   809   
   810   
   810   <script type="text/javascript" src="/static/graph.js"></script>
   811   <script type="text/javascript" src="/static/graph.js"></script>
   811   <script>
   812   <script>
   812   <!-- hide script content
   813   <!-- hide script content
   813   
   814   
   814   var data = [["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", true], ["tip"]], ["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"]]];
   815   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"], []]];
   815   var graph = new Graph();
   816   var graph = new Graph();
   816   graph.scale(39);
   817   graph.scale(39);
   817   
   818   
   818   graph.edge = function(x0, y0, x1, y1, color) {
   819   graph.edge = function(x0, y0, x1, y1, color) {
   819   	
   820   	
  1068 
  1069 
  1069 Graph json escape of multibyte character
  1070 Graph json escape of multibyte character
  1070 
  1071 
  1071   $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/' \
  1072   $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/' \
  1072   >     | grep '^var data ='
  1073   >     | grep '^var data ='
  1073   var data = [["40b4d6888e92", [0, 1], [[0, 0, 1]], "\u80fd", "test", "1970-01-01", ["stable", true], ["tip"]], ["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"]]];
  1074   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"], []]];
  1074 
  1075 
  1075 ERRORS ENCOUNTERED
  1076 ERRORS ENCOUNTERED
  1076 
  1077 
  1077   $ cat errors.log
  1078   $ cat errors.log