# HG changeset patch
# User Yuki KODAMA <[email protected]>
# Date 1260065625 -32400
# Node ID 54e42586757ccdba5ea6d81237431847d4544a71
# Parent 4ac08fe7c8cc47a3e9cd65966ac35347259cff1c
quickop: fix AttributeError
Closes #788
diff --git a/tortoisehg/hgtk/quickop.py b/tortoisehg/hgtk/quickop.py
--- a/tortoisehg/hgtk/quickop.py
+++ b/tortoisehg/hgtk/quickop.py
@@ -271,7 +271,7 @@
return
cmdline = ['hg', self.command, '--verbose'] + list
- if self.nobackup.get_active():
+ if hasattr(self, 'nobackup') and self.nobackup.get_active():
cmdline.append('--no-backup')
def cmd_done(returncode, useraborted):
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop