file2lastrev.patch

duerst (Martin Dürst), 01/05/2009 05:06 pm

Download (360 Bytes)

tool/file2lastrev.rb (working copy)
31 31
    "Revision: #{$1}\nLast Changed Rev: #{$1}\n"
32 32
  end
33 33

  
34
  info.force_encoding 'ASCII-8BIT'
34 35
  if /^Revision: (\d+)/ =~ info
35 36
    last = $1 
36 37
  else