<commit_before><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="layout.html" />
  <xi:include href="macros.html" />
  <head>
    <title>$path (log)</title>
  </head>

  <body>
    <div id="ctxtnav" class="nav">
      <ul py:with="prev = chrome.links.prev; next = chrome.links.next">
        <li class="first${not (prev or next) and ' last' or ''}">
          <a href="${href.browser(path)}">View Latest Revision</a>
        </li>
        <li py:if="prev" class="${not next and 'last' or None}">
          &larr; <a title="${prev[0].title}" href="${prev[0].href}">Newer Revisions</a>
        </li>
        <li py:if="next" class="last">
          <a  title="${next[0].title}" href="${next[0].href}">Older Revisions</a> &rarr;
        </li>
      </ul>
    </div>

    <div id="content" class="log">
      <h1>${browser_path_links(path_links)}</h1>

      <form id="prefs" action="" method="get">
        <div>
          <input type="hidden" name="action" value="$mode" />
          <div class="choice">
            <fieldset>
              <legend>Revision Log Mode:</legend>
              <label>
                <input type="radio" id="stop_on_copy" name="mode"
                       value="stop_on_copy"
                       checked="${mode in (None, 'stop_on_copy') or None}" />
                Stop on copy
              </label>
              <label>
                <input type="radio" id="follow_copy" name="mode"
                       value="follow_copy"
                       checked="${mode == 'follow_copy' or None}" />
                Follow copies
              </label>
              <label>
                <input type="radio" id="path_history" name="mode"
                       value="path_history"
                       checked="${mode == 'path_history' or None}" />
                Show only adds and deletes
              </label>
            </fieldset>
          </div>
          <label>View log starting at <input type="text" id="rev" name="rev" value="${items[0].rev}" size="5" /></label>
          <label>and back to <input type="text" id="stop_rev" name="stop_rev" value="$stop_rev" size="5" /></label>
          <br />
          <label>Show at most <input type="text" id="limit" name="limit" value="$limit" size="2" maxlength="3" /></label> revisions per page.
          <br />
          <label><input type="checkbox" id="verbose" name="verbose" checked="${verbose and 'checked' or None}" />
            Show full log messages</label>
        </div>
        <div class="buttons">
          <input type="submit" value="Update" />
        </div>
      </form>

      <div class="diff">
        <div class="legend" id="file-legend">
          <h3>Legend:</h3>
          <dl>
            <dt class="add"></dt><dd>Added</dd>
            <py:if test="mode == 'path_history'">
              <dt class="rem" ></dt><dd>Removed</dd>
            </py:if>
            <dt class="mod"></dt><dd>Modified</dd>
            <dt class="cp"></dt><dd>Copied or renamed</dd><commit_msg>Keep the requested rev in the ''From revision'' field, so that the doesn't change when switching the Revision Log Mode. Fixes #2303.<commit_after><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="layout.html" />
  <xi:include href="macros.html" />
  <head>
    <title>$path (log)</title>
  </head>

  <body>
    <div id="ctxtnav" class="nav">
      <ul py:with="prev = chrome.links.prev; next = chrome.links.next">
        <li class="first${not (prev or next) and ' last' or ''}">
          <a href="${href.browser(path)}">View Latest Revision</a>
        </li>
        <li py:if="prev" class="${not next and 'last' or None}">
          &larr; <a title="${prev[0].title}" href="${prev[0].href}">Newer Revisions</a>
        </li>
        <li py:if="next" class="last">
          <a  title="${next[0].title}" href="${next[0].href}">Older Revisions</a> &rarr;
        </li>
      </ul>
    </div>

    <div id="content" class="log">
      <h1>${browser_path_links(path_links)}</h1>

      <form id="prefs" action="" method="get">
        <div>
          <input type="hidden" name="action" value="$mode" />
          <div class="choice">
            <fieldset>
              <legend>Revision Log Mode:</legend>
              <label>
                <input type="radio" id="stop_on_copy" name="mode"
                       value="stop_on_copy"
                       checked="${mode in (None, 'stop_on_copy') or None}" />
                Stop on copy
              </label>
              <label>
                <input type="radio" id="follow_copy" name="mode"
                       value="follow_copy"
                       checked="${mode == 'follow_copy' or None}" />
                Follow copies
              </label>
              <label>
                <input type="radio" id="path_history" name="mode"
                       value="path_history"
                       checked="${mode == 'path_history' or None}" />
                Show only adds and deletes
              </label>
            </fieldset>
          </div>
          <label>View log starting at <input type="text" id="rev" name="rev" value="$rev" size="5" /></label>
          <label>and back to <input type="text" id="stop_rev" name="stop_rev" value="$stop_rev" size="5" /></label>
          <br />
          <label>Show at most <input type="text" id="limit" name="limit" value="$limit" size="2" maxlength="3" /></label> revisions per page.
          <br />
          <label><input type="checkbox" id="verbose" name="verbose" checked="${verbose and 'checked' or None}" />
            Show full log messages</label>
        </div>
        <div class="buttons">
          <input type="submit" value="Update" />
        </div>
      </form>

      <div class="diff">
        <div class="legend" id="file-legend">
          <h3>Legend:</h3>
          <dl>
            <dt class="add"></dt><dd>Added</dd>
            <py:if test="mode == 'path_history'">
              <dt class="rem" ></dt><dd>Removed</dd>
            </py:if>
            <dt class="mod"></dt><dd>Modified</dd>
            <dt class="cp"></dt><dd>Copied or renamed</dd>
{'fraction_non_alphanumeric': 0.18572735590118938, 'fraction_numerical': 0.009301616346447087, 'mean_word_length': 1.9719075668328048, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '487730', 'n_tokens_mistral': 2107, 'n_tokens_neox': 2011, 'n_words': 446}