ChangeSetDiffSet.st
branchjv
changeset 3098 67aaf3fadffb
parent 3078 3f5abbdcbde9
child 3099 be6ff432a2ad
--- a/ChangeSetDiffSet.st	Thu Dec 20 11:54:04 2012 +0000
+++ b/ChangeSetDiffSet.st	Wed Jan 16 11:55:57 2013 +0000
@@ -79,6 +79,17 @@
 
 !ChangeSetDiffSet methodsFor:'accessing'!
 
+depth
+    | depth |
+    depth := 0.
+    diffs do:[:diff|
+        depth := depth max: diff depth
+    ].
+    ^depth + 1
+
+    "Created: / 15-01-2013 / 11:27:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 diffs
     ^ diffs
 !
@@ -279,9 +290,9 @@
 !ChangeSetDiffSet class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic3/ChangeSetDiffSet.st,v 1.5 2012/07/31 12:34:33 vrany Exp $'
+    ^ '$Id: ChangeSetDiffSet.st 1985 2013-01-16 11:55:57Z vranyj1 $'
 !
 
 version_SVN
-    ^ '$Id: ChangeSetDiffSet.st 1957 2012-09-05 11:45:38Z vranyj1 $'
+    ^ '$Id: ChangeSetDiffSet.st 1985 2013-01-16 11:55:57Z vranyj1 $'
 ! !