Revision 34464
trunk/install/scripts/svnScripts/svn-preparar_tag | ||
---|---|---|
36 | 36 |
"cur_root":get_gvSIG_SVN_root(), |
37 | 37 |
"command":sys.argv[0] |
38 | 38 |
} |
39 |
def login(*args): |
|
40 |
return True, 'XXXXX', 'XXXXX', False |
|
39 | 41 |
|
40 | 42 |
def checks(): |
41 | 43 |
if len(sys.argv) != 3: |
... | ... | |
64 | 66 |
trgURL = "/".join((svnRoot,trgType,trgName)) |
65 | 67 |
tagsForlderURL = "/".join((svnRoot,trgType)) |
66 | 68 |
|
67 |
print "Checks for an existing tags/temp_build..."
|
|
69 |
print "Checks for an existing tags/temp_build... %s"%tagsForlderURL
|
|
68 | 70 |
entries = client.ls(tagsForlderURL) |
69 | 71 |
for entry in entries: |
70 | 72 |
if entry["name"] == trgURL: |
... | ... | |
88 | 90 |
client.remove(trgURL) |
89 | 91 |
|
90 | 92 |
print "Creating tags/temp_build...." |
93 |
print "------> %s" % trgURL |
|
94 |
print "======> %s" % logMsg |
|
95 |
|
|
96 |
client.callback_get_login = login |
|
97 |
|
|
91 | 98 |
client.mkdir(trgURL,logMsg) |
92 | 99 |
|
93 | 100 |
|
trunk/install/scripts/svnScripts/svn_utils.py | ||
---|---|---|
8 | 8 |
tags_type='tags' |
9 | 9 |
branches_types=(trunk_type,branches_type,tags_type) |
10 | 10 |
|
11 |
gvSIG_svn_default_root="https://gvsig.org/svn/gvSIG"
|
|
11 |
gvSIG_svn_default_root="https://svn.forge.osor.eu/svn/gvsig-desktop"
|
|
12 | 12 |
gvSIG_svn_root_env_name="GVSIG_SVN_ROOT" |
13 | 13 |
|
14 | 14 |
svn_client=None |
Also available in: Unified diff