What about https://github.com/jleo3/vlad/blob/fe4a440989ec405d3e31a98e41e3253087c016af/lib/vlad/subversion.rb#L32 ?