mercurial/extensions.st
changeset 353 456532e0478c
parent 303 aee999e9dc25
child 367 af5fea76e6ed
child 488 6b2d041eb09a
--- a/mercurial/extensions.st	Wed Oct 09 09:20:12 2013 +0100
+++ b/mercurial/extensions.st	Wed Oct 09 12:12:20 2013 +0100
@@ -725,6 +725,41 @@
     "Created: / 20-11-2012 / 23:58:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!ProjectDefinition class methodsFor:'accessing - hg - settings'!
+
+hgEnsureCopyrightMethod
+    "If true, then #copyright method is automatically compiled in each class
+     (but iff project definition defines it)
+
+     Default is true (compile such method) but if the repository is mirror of CVS and
+     you want to merge back to CVS at some point, you may want to not compile them
+     to keep changes against CVS minimal"
+
+    ^true "default"
+
+    "Created: / 09-10-2013 / 11:48:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!ProjectDefinition class methodsFor:'accessing - hg - settings'!
+
+hgEnsureVersion_HGMethod
+    "If true, then #version_HG method is automatically compiled in each class.
+
+     Default is true (compile such method) but if the repository is mirror of CVS and
+     you want to merge back to CVS at some point, you may want to not compile them
+     to keep changes against CVS minimal. 
+
+     If false, version_HG is compiled only in classes that has been modified
+     and commited.
+
+     Note that Mercurial can live without them
+     just fine"
+
+    ^true "default"
+
+    "Created: / 09-10-2013 / 11:50:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
 !ProjectDefinition class methodsFor:'accessing - hg'!
 
 hgLogicalRevision
@@ -815,7 +850,7 @@
     "Modified: / 27-11-2012 / 22:14:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-!ProjectDefinition class methodsFor:'accessing - hg'!
+!ProjectDefinition class methodsFor:'accessing - hg - settings'!
 
 hgRemoveContainesForDeletedClasses
     "If true, then containers for removed classes are __AUTOMATICALLY__ removed from the