Mercurial > hgsubversion
comparison 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 |
comparison
equal
deleted
inserted
replaced
8:c89f53103502 | 9:9eb6bf2be1e7 |
---|---|
254 None, | 254 None, |
255 False) | 255 False) |
256 checksum = [] | 256 checksum = [] |
257 def driver_cb(parent, path, pool): | 257 def driver_cb(parent, path, pool): |
258 if path in dirs: | 258 if path in dirs: |
259 return baton | 259 return editor.add_directory(path, parent, None, -1, pool) |
260 base_text, new_text, action = file_data[path] | 260 base_text, new_text, action = file_data[path] |
261 compute_delta = True | 261 compute_delta = True |
262 if action == 'modify': | 262 if action == 'modify': |
263 baton = editor.open_file(path, parent, base_revision, pool) | 263 baton = editor.open_file(path, parent, base_revision, pool) |
264 elif action == 'add': | 264 elif action == 'add': |