diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-06-25 07:00:24 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-06-25 07:00:24 +0000 |
commit | 6be6e8de16b4272c7364028379f01e645fe548fe (patch) | |
tree | a55c1f40b9ce8cf6006e540c02f5a75b4ce360d0 /ACE/bin/sets-manager.py | |
parent | e797bb0d7149ec2fc1162b4d51680877041c61e4 (diff) | |
download | ATCD-6be6e8de16b4272c7364028379f01e645fe548fe.tar.gz |
Wed Jun 25 06:58:52 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/bin/sets-manager.py')
-rwxr-xr-x | ACE/bin/sets-manager.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/bin/sets-manager.py b/ACE/bin/sets-manager.py index 2806efe1c82..271e6006dec 100755 --- a/ACE/bin/sets-manager.py +++ b/ACE/bin/sets-manager.py @@ -90,7 +90,7 @@ def get_head_revision (url): import re lineregex = re.compile ("Last Changed Rev: (\d+)") - + for line in os.popen (command).readlines (): match = lineregex.match (line) if (match is not None): @@ -110,13 +110,13 @@ def branch_ACE (): # execute ("svn up -N " + opts.repo + path + "/modules/ACE sets_manager_temp/module_ACE") execute ("svn up -N sets_manager_temp/modules/ACE") mpc_rev = get_head_revision ("svn://svn.dre.vanderbilt.edu/DOC/MPC/trunk") - + svn_propset ("sets_manager_temp/modules/ACE", "svn:externals", "%s\t-r %d %s" % ("MPC", mpc_rev, "svn://svn.dre.vanderbilt.edu/DOC/MPC/trunk")) - + #Create the set svn_mkdir_local ("sets_manager_temp/sets/ACE") svn_propset ("sets_manager_temp/sets/ACE", @@ -177,14 +177,14 @@ def main (opts, args): svn_mkdir (opts.repo + path) execute ("svn co " + opts.repo + path + " sets_manager_temp") - + # Make modules and sets subdirectory svn_mkdir_local ("sets_manager_temp/modules") svn_mkdir_local ("sets_manager_temp/sets") - + # commit the new directories execute ('svn commit -m "branching/tagging" sets_manager_temp') - + # opts.dest should now be set to path, all of the branching # functions assume dest now points to the branch/tag in which # the copies should be places |