merge
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 22 Jul 2009 18:35:21 +0200
changeset 2423 f6757021018f
parent 2422 96da7dc42eb5 (current diff)
parent 2421 08d42928fe36 (diff)
child 2424 70f85df651a5
merge
--- a/doc/book/en/admin/setup.rst	Wed Jul 22 18:35:08 2009 +0200
+++ b/doc/book/en/admin/setup.rst	Wed Jul 22 18:35:21 2009 +0200
@@ -47,7 +47,7 @@
 There is also a wide variety of cubes listed on http://www.cubicweb.org/Project available as debian packages and tarball.
 
 The repositories are signed with `Logilab's gnupg key`_. To avoid warning on "apt-get update":
-1. become root using sudo 
+1. become root using sudo
 2. download http://ftp.logilab.org/dists/logilab-dists-key.asc using e.g. wget
 3. run "apt-key add logilab-dists-key.asc"
 4. re-run apt-get update (manually or through the package manager, whichever you prefer)
@@ -69,6 +69,10 @@
   hg fclone http://www.logilab.org/hg/forests/cubicweb
 
 See :ref:`MercurialPresentation` for more details about Mercurial.
+When cloning a repository, you might be set in a development branch
+(the 'default' branch). You should check that the branches of the
+repositories are set to 'stable' (using `hg up stable` for each one)
+if you do not intend to develop the framework itself.
 
 Postgres installation
 `````````````````````
--- a/entity.py	Wed Jul 22 18:35:08 2009 +0200
+++ b/entity.py	Wed Jul 22 18:35:21 2009 +0200
@@ -23,13 +23,9 @@
 from cubicweb.appobject import AppRsetObject
 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint, bw_normalize_etype
 
-try:
-    from cubicweb.common.uilib import printable_value, soup2xhtml
-    from cubicweb.common.mixins import MI_REL_TRIGGERS
-    from cubicweb.common.mttransforms import ENGINE
-except ImportError:
-    # missing -common
-    MI_REL_TRIGGERS = {}
+from cubicweb.common.uilib import printable_value, soup2xhtml
+from cubicweb.common.mixins import MI_REL_TRIGGERS
+from cubicweb.common.mttransforms import ENGINE
 
 _marker = object()