@staticmethod
def html_dump_header(title):
nowdate=time.strftime("%Y-%m-%d")
- nowtime=time.strftime("%H:%M")
+ nowtime=time.strftime("%H:%M (%Z)")
print """
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
# create commit log file
tmp="/tmp/branching-%d"%os.getpid()
f=open(tmp,"w")
- f.write("Branch %s for module %s created (as new trunk) from tag %s\n"%(new_trunk_name,self.name,latest_tag_name))
+ f.write("Branch %s for module %s created (as new trunk) from tag %s\n"%(branch_name,self.name,latest_tag_name))
f.close()
# review the renumbering changes in trunk
command="svn copy --file %s %s %s"%(tmp,tag_url,new_tag_url)
self.run_prompt("Create initial tag in trunk",command)
os.unlink(tmp)
- # print message about SVNBRANCH
+ # print message about BRANCH
print """You might now wish to review your tags files
Please make sure you mention as appropriate
-%s-SVNBRANCH := %s""" %(self.name,branch_name)
+%s-BRANCH := %s""" %(self.name,branch_name)
##############################
class Package:
break
if not mode:
print "Unsupported command",sys.argv[0]
- print "Supported commands:" + Modes.modes.keys.join(" ")
+ print "Supported commands:" + " ".join(Main.modes.keys())
sys.exit(1)
if mode not in Main.release_modes: