12
13
SUPPORTED['svn'] = SvnCheckout
15
def get_update(vcs_type, target_dir, url, revision, **options):
16
def repo(vcs_type, target_dir, url, **options):
17
17
cls = SUPPORTED.get(vcs_type)
21
21
# case of standalon addon (see launchpad #1012899)
22
22
target_dir = cls.fix_target(target_dir)
26
def get_update(vcs_type, target_dir, url, revision, **options):
28
return repo(vcs_type, target_dir, url, **options)(revision)