# HG changeset patch # User Oleg Oshmyan # Date 1298592666 0 # Node ID 179bad0d29f4fb0e82f86f2e8a36812f7255f2e7 # Parent 8cd7a732f2f3c28a5314f9c4b81ad0b1e6978349 --update now includes version numbers in all messages it prints diff -r 8cd7a732f2f3 -r 179bad0d29f4 upreckon-vcs --- a/upreckon-vcs Fri Feb 25 00:10:20 2011 +0000 +++ b/upreckon-vcs Fri Feb 25 00:11:06 2011 +0000 @@ -45,18 +45,18 @@ if latest[2] > installed[2]: update = 'bug-fixing' elif latest[2] == installed[2]: - say('You are using the latest publicly available version of Upreckon.') + say('You are using the latest publicly available version of Upreckon (%s).' % latesttext) sys.exit() if not update: - say('Your copy of Upreckon is newer than the publicly available version.') + say('Your copy of Upreckon is newer (%s) than the publicly available version (%s).' % (version, latesttext)) sys.exit() - say('A ' + update + ' update to Upreckon is available. Downloading...') + say('A %s update to Upreckon is available (%s). Downloading...' % (update, latesttext)) sys.stdout.flush() # FIXME: need to update all files! urllib.urlretrieve('http://chortos.selfip.net/~astiob/test.py/test.py', sys.argv[0]) - say('Downloaded and installed. Now you are using Upreckon ' + latesttext + '.') + say('Downloaded and installed. Now you are using Upreckon %s.' % latesttext) sys.exit() import config, itertools, os, subprocess, sys, time