Save stash before pulling changes

This commit is contained in:
Ruud
2011-10-22 22:23:53 +02:00
parent a1a3a8e3ea
commit 827e67177e
+4 -1
View File
@@ -97,7 +97,10 @@ class Updater(Plugin):
def doUpdate(self):
try:
log.info('Updating to latest version');
log.debug('Stashing local changes')
self.repo.saveStash()
log.info('Updating to latest version')
self.repo.pull()
# Delete leftover .pyc files