mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Update svn.py
export support revision
This commit is contained in:
parent
1c909c0ea9
commit
9571a357d2
@ -441,6 +441,7 @@ def export(cwd,
|
||||
user=None,
|
||||
username=None,
|
||||
password=None,
|
||||
revision='HEAD',
|
||||
*opts):
|
||||
'''
|
||||
Create an unversioned copy of a tree.
|
||||
@ -475,4 +476,6 @@ def export(cwd,
|
||||
opts += (remote,)
|
||||
if target:
|
||||
opts += (target,)
|
||||
revision_args = '-r'
|
||||
opts += (revision_args, str(revision),)
|
||||
return _run_svn('export', cwd, user, username, password, opts)
|
||||
|
Loading…
Reference in New Issue
Block a user