14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
41
29
""" Display Status window and perform the needed actions. """
42
def __init__(self, gladefile, wt, wtpath):
43
31
""" Initialize the Status window. """
47
34
# Get the Status window widget
48
35
self.window = self.glade.get_widget('window_status')
52
40
# Check if current location is a branch
61
41
file_id = self.wt.path2id(wtpath)
68
43
# Set the old working tree
69
44
self.old_tree = self.wt.branch.repository.revision_tree(self.wt.branch.last_revision())