mercurial/HGWorkingCopyFile.st
changeset 88 1ad71a063a20
parent 69 17045d49309f
child 115 b1ed2d29054b
--- a/mercurial/HGWorkingCopyFile.st	Tue Nov 20 21:32:08 2012 +0000
+++ b/mercurial/HGWorkingCopyFile.st	Wed Nov 21 01:21:47 2012 +0000
@@ -177,9 +177,12 @@
             destination: destination pathName;
             execute.
     ].
-    filename moveTo: destination pathName
+    filename exists ifTrue:[
+        filename moveTo: destination pathName
+    ].
 
     "Created: / 15-11-2012 / 00:23:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 21-11-2012 / 00:48:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 remove