view rollback.py @ 29:72f7c5904fbf traipse_dev

Update Manager moves into Beta 0.2 as the code is cleaned up some. The Update Manager is nearly ready to be placed into Grumpy Goblin, though it is not functioning 100%. It will provide users an opportunity to skip the update process, grab new repos, and update by choice.
author sirebral
date Sun, 02 Aug 2009 00:37:23 -0500
parents 4385a7d0efd1
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import os

HG = os.environ["HG"]

os.system(HG + " rollback")
os.system(HG + " revert --all")
print "Since you reverted, I am guessing there are issues with the last update"
print "PLEASE notify me on either the openrpg.com boards, or by email"
print "digitalxero@gmail.com"
print "You can continue using your rolled back version by launching openrpg from"
print "the command line with the command: OpenRPG*.py -n"
print "the -n tells the system not to update, it will still run the downloader"
print "but it will not change your files"
raw_input("press <enter> key to terminate program")