##// END OF EJS Templates
svn-backend: add handling of rename file as changes....
marcink -
r104:76a3f0e8 default
parent child Browse files
Show More
@@ -197,13 +197,15 b' class SvnRemote(object):'
197 for path, change in editor.changes.iteritems():
197 for path, change in editor.changes.iteritems():
198 # TODO: Decide what to do with directory nodes. Subversion can add
198 # TODO: Decide what to do with directory nodes. Subversion can add
199 # empty directories.
199 # empty directories.
200
200 if change.item_kind == svn.core.svn_node_dir:
201 if change.item_kind == svn.core.svn_node_dir:
201 continue
202 continue
202 if change.action == svn.repos.CHANGE_ACTION_ADD:
203 if change.action in [svn.repos.CHANGE_ACTION_ADD]:
203 added.append(path)
204 added.append(path)
204 elif change.action == svn.repos.CHANGE_ACTION_MODIFY:
205 elif change.action in [svn.repos.CHANGE_ACTION_MODIFY,
206 svn.repos.CHANGE_ACTION_REPLACE]:
205 changed.append(path)
207 changed.append(path)
206 elif change.action == svn.repos.CHANGE_ACTION_DELETE:
208 elif change.action in [svn.repos.CHANGE_ACTION_DELETE]:
207 removed.append(path)
209 removed.append(path)
208 else:
210 else:
209 raise NotImplementedError(
211 raise NotImplementedError(
General Comments 0
You need to be logged in to leave comments. Login now