mercurial/HGWorkingCopy.st
changeset 156 725d8bc65e48
parent 152 9068fe7a5795
child 174 0d293012a897
--- a/mercurial/HGWorkingCopy.st	Mon Dec 10 05:55:23 2012 +0000
+++ b/mercurial/HGWorkingCopy.st	Mon Dec 10 11:29:35 2012 +0000
@@ -167,6 +167,14 @@
     "Modified: / 07-12-2012 / 15:45:38 / jv"
 !
 
+update
+    "Update the working copy to the latest rev in current branch"
+
+    ^self update: self branch name
+
+    "Created: / 10-12-2012 / 11:25:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 update: revisionOrBranch
 
     ^HGCommand update