<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -51,8 +51,10 @@ module Braid
         end
 
         def svn_remote_revision(path)
-          status, out, err = exec!(&quot;svn info #{path}&quot;)
-          YAML.load(out)[&quot;Last Changed Rev&quot;]
+          # not using svn info because it's retarded and doesn't show the actual last changed rev for the url
+          # also, git svn has no clue on how to get the actual HEAD # on it's own
+          status, out, err = exec!(&quot;svn log -q --limit 1 #{path}&quot;)
+          out.split(/\n/).find {|x| x.match /^r\d+/}.split(&quot; &quot;)[0][1..-1]
         end
 
     end</diff>
      <filename>lib/braid/commands/add.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ab0002ed39552e7b8396da8ba4d8ef9dbf768aa6</id>
    </parent>
  </parents>
  <author>
    <name>Cristi Balan</name>
    <email>evil@che.lu</email>
  </author>
  <url>http://github.com/evilchelu/braid/commit/6e21617a196666ca726cf16d3257bb7aa0e7df0a</url>
  <id>6e21617a196666ca726cf16d3257bb7aa0e7df0a</id>
  <committed-date>2008-03-10T11:52:17-07:00</committed-date>
  <authored-date>2008-03-10T11:52:17-07:00</authored-date>
  <message>get isvn remote revision in a safer way using svn log instead of svn info</message>
  <tree>189d85261126b871064ea1c429f7e31afa18da2b</tree>
  <committer>
    <name>Cristi Balan</name>
    <email>evil@che.lu</email>
  </committer>
</commit>
