mercurial/HGCommitDialog.st
changeset 118 5a8b78ad48ae
parent 115 b1ed2d29054b
child 142 67e8c5ab8db2
--- a/mercurial/HGCommitDialog.st	Sat Dec 01 00:50:48 2012 +0000
+++ b/mercurial/HGCommitDialog.st	Sat Dec 01 01:00:13 2012 +0000
@@ -125,7 +125,7 @@
     showOnlyModified := fileListShowOnlyModifiedHolder value.
     "HACK..."
 
-    wcroot := self model package root.
+    wcroot := self model package temporaryWorkingCopyRoot.
     wcrootPathNameRelative := wcroot pathNameRelative.
     wcrootPathNameRelativeLen := wcrootPathNameRelative size.
 
@@ -151,7 +151,7 @@
     self fileListHolder value: entries
 
     "Created: / 08-02-2012 / 18:05:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 16-11-2012 / 11:27:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 01-12-2012 / 00:48:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !HGCommitDialog methodsFor:'private'!
@@ -160,8 +160,8 @@
     | heads changeset |
 
     super doUpdateWorkingCopy.
-    heads := self task package workingCopy heads.
-    changeset := self task package workingCopy changeset.
+    heads := self task package temporaryWorkingCopy heads.
+    changeset := self task package temporaryWorkingCopy changeset.
     (heads includes: changeset) ifFalse:[
         self infoPanel 
             reset;
@@ -173,6 +173,7 @@
     ]
 
     "Created: / 27-11-2012 / 23:36:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 01-12-2012 / 00:49:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !HGCommitDialog class methodsFor:'documentation'!