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