<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -65,8 +65,8 @@ EOS
   uri_to   = URI(config.to)
 
   # Use --from-folder and --to-folder unless folders were specified in the URIs.
-  uri_from.path ||= '/' + CGI.escape(config.from_folder.gsub(/^\//, ''))
-  uri_to.path   ||= '/' + CGI.escape(config.to_folder.gsub(/^\//, ''))
+  uri_from.path = uri_from.path.empty? ? '/' + CGI.escape(config.from_folder.gsub(/^\//, '')) : uri_from.path
+  uri_to.path   = uri_to.path.empty?   ? '/' + CGI.escape(config.to_folder.gsub(/^\//, ''))   : uri_to.path
 
   # --all and --all-subscribed options override folders
   if config.all || config.all_subscribed</diff>
      <filename>bin/larch</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>07c25430d2501b81e990272400e30b3fe781fa78</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Grove</name>
    <email>ryan@wonko.com</email>
  </author>
  <url>http://github.com/rgrove/larch/commit/f78357ff9b1ea99aabbea062c82bb472599e3e5e</url>
  <id>f78357ff9b1ea99aabbea062c82bb472599e3e5e</id>
  <committed-date>2009-10-04T16:16:35-07:00</committed-date>
  <authored-date>2009-10-04T16:16:35-07:00</authored-date>
  <message>Fix --from-folder and --to-folder command line options not being respected</message>
  <tree>59f735f67fcf68f72ab5854d21a8748d0535e214</tree>
  <committer>
    <name>Ryan Grove</name>
    <email>ryan@wonko.com</email>
  </committer>
</commit>
