Skip to content
Browse files

Added translate_status to SVNTranslator

  • Loading branch information...
1 parent b28cc1c commit 633086fbce7f748629d82d276c4a8399627d6a26 @RafeKettler RafeKettler committed Jan 21, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 vcstranslator_project/apps/translator/utils.py
View
5 vcstranslator_project/apps/translator/utils.py
@@ -89,12 +89,17 @@ def parse(self, command):
elif parts[0] in "add" and len(parts) <= 2:
files = [SomeFile(f) for f in parts[1:]]
return Add(files=files)
+ elif parts == ["status"]:
+ return Status()
def translate_pull(self, command):
return "svn up"
def translate_clone(self, command):
return "svn checkout"
+
+ def translate_status(self, command):
+ return "svn status"
class Translator(object):
vcs = SortedDict([

0 comments on commit 633086f

Please sign in to comment.
Something went wrong with that request. Please try again.