Updated hm script to work with Subversion.

This commit is contained in:
Nick Bolton 2009-10-26 15:19:05 +00:00
parent 81227b8fab
commit 985648a95f
1 changed files with 4 additions and 4 deletions

8
hm.py
View File

@ -276,12 +276,12 @@ def open_project():
return False return False
def update(): def update():
print "Running Mercurial pull and update..." print "Running Subversion update..."
os.system('hg pull') os.system('svn update')
os.system('hg update')
def revision(): def revision():
os.system('hg identify') # While this doesn't print out the revision specifically, it will do.
os.system('svn info')
def destroy(): def destroy():
msg = "Are you sure you want to remove the ./bin/ directory? [y/N]" msg = "Are you sure you want to remove the ./bin/ directory? [y/N]"