changeset 863:14010fa88b4b

Replace broken one-line for removing builds with a reference to the new upgrade documentation.
author hodgestar
date Mon, 18 Oct 2010 00:21:43 +0000
parents 9d65ffa31414
children a24744710a65
files bitten/upgrades.py
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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'), <buildid>).delete()\"" % env.path
-        print "\n...where <buildid> 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"
 
Copyright (C) 2012-2017 Edgewall Software