diff svnwrap/svn_swig_wrapper.py @ 9:9eb6bf2be1e7

Fix adding files that require new directories.
author Augie Fackler <durin42@gmail.com>
date Mon, 06 Oct 2008 11:01:46 -0500
parents 1a5bb173170b
children dfdc078661db
line wrap: on
line diff
--- a/svnwrap/svn_swig_wrapper.py
+++ b/svnwrap/svn_swig_wrapper.py
@@ -256,7 +256,7 @@ class SubversionRepo(object):
         checksum = []
         def driver_cb(parent, path, pool):
             if path in dirs:
-                return baton
+                return editor.add_directory(path, parent, None, -1, pool)
             base_text, new_text, action = file_data[path]
             compute_delta = True
             if action == 'modify':