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
30
""" Display Status window and perform the needed actions. """
42
def __init__(self, gladefile, wt, wtpath):
43
32
""" Initialize the Status window. """
47
35
# Get the Status window widget
48
36
self.window = self.glade.get_widget('window_status')
52
41
# Check if current location is a branch
61
42
file_id = self.wt.path2id(wtpath)
68
44
# Set the old working tree
69
45
self.old_tree = self.wt.branch.repository.revision_tree(self.wt.branch.last_revision())