diff upmana/updatemana.py @ 51:14d4270d5e5d traipse_dev

Fixed Auto Update not finding current branch, no pull associated yet! Removed print statement.
author sirebral
date Thu, 06 Aug 2009 09:50:16 -0500
parents b41ea7d28a9e
children c9694d854a61
line wrap: on
line diff
--- a/upmana/updatemana.py	Thu Aug 06 09:45:34 2009 -0500
+++ b/upmana/updatemana.py	Thu Aug 06 09:50:16 2009 -0500
@@ -466,7 +466,7 @@
             self.AutoUpdate(); self.OnExit()
         else: pass
         if self.manifest.GetString('updatemana', 'no_update', '') == 'on' and self.main == False: 
-            print 'no udpate'; self.OnExit()
+            self.OnExit()
         else: pass
         try:
             self.updater.Show()
@@ -479,6 +479,7 @@
         self.ui = ui.ui()
         self.repo = hg.repository(self.ui, ".")
         self.c = self.repo.changectx('tip')
+        self.current = self.repo.dirstate.branch()
         filename = 'ignorelist.txt'
         self.filename = orpg.dirpath.dir_struct["home"] + 'upmana' + os.sep + filename
         orpg.tools.validate.Validate(orpg.dirpath.dir_struct["home"] + 'upmana' + os.sep).config_file(filename, "default_ignorelist.txt")