Mercurial > bitten > bitten-test
comparison bitten/upgrades.py @ 869:467e993df52d 0.6.x
0.6dev: Merged [940:942] from trunk.
author | hodgestar |
---|---|
date | Mon, 18 Oct 2010 11:55:44 +0000 |
parents | a08acf72a846 |
children |
comparison
equal
deleted
inserted
replaced
868:242f2e225c4e | 869:467e993df52d |
---|---|
586 build_ids = [row[0] for row in build_cursor.fetchall()] | 586 build_ids = [row[0] for row in build_cursor.fetchall()] |
587 print "%s, %s, %s :: %s" % (config, rev, platform, build_ids) | 587 print "%s, %s, %s :: %s" % (config, rev, platform, build_ids) |
588 | 588 |
589 if duplicates_exist: | 589 if duplicates_exist: |
590 print "--------------------------------------------------------\n" | 590 print "--------------------------------------------------------\n" |
591 print "Duplicate builds found. You can remove the builds you don't want to" | 591 print "Duplicate builds found. You can obtain help on removing the" |
592 print "keep by using this one-line command:\n" | 592 print "builds you don't want by reading the Bitten upgrade" |
593 print "$ python -c \"from bitten.model import Build; from trac.env import Environment; " \ | 593 print "documentation at:" |
594 "Build.fetch(Environment('%s'), <buildid>).delete()\"" % env.path | 594 print "http://bitten.edgewall.org/wiki/Documentation/upgrade.html" |
595 print "\n...where <buildid> is the id of the build to remove.\n" | |
596 print "Upgrades cannot be performed until conflicts are resolved." | 595 print "Upgrades cannot be performed until conflicts are resolved." |
597 print "The upgrade script will now exit with an error:\n" | 596 print "The upgrade script will now exit with an error:\n" |
598 | 597 |
599 duplicates_cursor.close() | 598 duplicates_cursor.close() |
600 build_cursor.close() | 599 build_cursor.close() |