# HG changeset patch # User hodgestar # Date 1287361303 0 # Node ID 14010fa88b4b114d229545c22b92216401e6bdd1 # Parent 9d65ffa31414739a9a96d0881669ba7addfb04eb Replace broken one-line for removing builds with a reference to the new upgrade documentation. diff --git a/bitten/upgrades.py b/bitten/upgrades.py --- a/bitten/upgrades.py +++ b/bitten/upgrades.py @@ -588,11 +588,10 @@ if duplicates_exist: print "--------------------------------------------------------\n" - print "Duplicate builds found. You can remove the builds you don't want to" - print "keep by using this one-line command:\n" - print "$ python -c \"from bitten.model import Build; from trac.env import Environment; " \ - "Build.fetch(Environment('%s'), ).delete()\"" % env.path - print "\n...where is the id of the build to remove.\n" + print "Duplicate builds found. You can obtain help on removing the" + print "builds you don't want by reading the Bitten upgrade" + print "documentation at:" + print "http://bitten.edgewall.org/wiki/Documentation/upgrade.html" print "Upgrades cannot be performed until conflicts are resolved." print "The upgrade script will now exit with an error:\n"