[Bps-public-commit] Test-Chimps branch, master, updated. d790cf4dd9940a61efbea31025e2c4b10a572767

trs at bestpractical.com trs at bestpractical.com
Fri Jul 24 14:00:44 EDT 2009


The branch, master has been updated
       via  d790cf4dd9940a61efbea31025e2c4b10a572767 (commit)
      from  1cc134a5baa4be17a03fb525a74df4544ec4e737 (commit)

Summary of changes:
 examples/list.tmpl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit d790cf4dd9940a61efbea31025e2c4b10a572767
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Jul 24 14:00:11 2009 -0400

    Don't include the "r" in front of non-numeric revs
    
    It's slightly confusing sometimes.

diff --git a/examples/list.tmpl b/examples/list.tmpl
index fe65f54..ed42f9d 100644
--- a/examples/list.tmpl
+++ b/examples/list.tmpl
@@ -75,7 +75,11 @@
           <tr>
             <td class="report_summary"><% $report->project %></td>
             <td>
+% if ( $report->revision =~ /\D/ ) {
+              <% $report->revision %>
+% } else {
               r<% $report->revision %>
+% }
             </td>
             <td class="leftsep"><% $report->committer %></td>
             <td class="leftsep"><% $report->timestamp %></td>

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list