comparison svnwrap/svn_swig_wrapper.py @ 266:a5f20358f737

Remove stray prints
author Luke Opperman <luke@loppear.com>
date Tue, 14 Apr 2009 09:32:09 -0500
parents d978192f0d63
children 25d843281127
comparison
equal deleted inserted replaced
265:9f0738587f94 266:a5f20358f737
349 base_text, new_text, action = file_data[path] 349 base_text, new_text, action = file_data[path]
350 compute_delta = True 350 compute_delta = True
351 if action == 'modify': 351 if action == 'modify':
352 baton = editor.open_file(path, parent, base_revision, pool) 352 baton = editor.open_file(path, parent, base_revision, pool)
353 elif action == 'add': 353 elif action == 'add':
354 try: 354 frompath, fromrev = copies.get(path, (None, -1))
355 frompath, fromrev = copies.get(path, (None, -1)) 355 if frompath:
356 if frompath: 356 frompath = self.svn_url + '/' + frompath
357 frompath = self.svn_url + '/' + frompath 357 baton = editor.add_file(path, parent, frompath, fromrev, pool)
358 baton = editor.add_file(path, parent, frompath, fromrev, pool)
359 except (core.SubversionException, TypeError), e: #pragma: no cover
360 print e.message
361 raise
362 elif action == 'delete': 358 elif action == 'delete':
363 baton = editor.delete_entry(path, base_revision, parent, pool) 359 baton = editor.delete_entry(path, base_revision, parent, pool)
364 compute_delta = False 360 compute_delta = False
365 361
366 if path in properties: 362 if path in properties: