Skip to content

Commit

Permalink
Update local.py
Browse files Browse the repository at this point in the history
Add delete file action
  • Loading branch information
zxl0715 authored Sep 18, 2018
1 parent 0c222a9 commit 83dd594
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion svn/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ def add(self, rel_path):
'add',
[rel_path],
wd=self.path)


def delete(self, rel_path):
self.run_command(
'delete',
[rel_path],
wd=self.path)

def commit(self, message, rel_filepaths=[]):
args = ['-m', message] + rel_filepaths

Expand Down

0 comments on commit 83dd594

Please sign in to comment.