~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/svn_plugin.txt

  • Committer: Vincent Ladeuil
  • Date: 2010-01-25 15:55:48 UTC
  • mto: (4985.1.4 add-attr-cleanup)
  • mto: This revision was merged to the branch mainline in revision 4988.
  • Revision ID: v.ladeuil+lp@free.fr-20100125155548-0l352pujvt5bzl5e
Deploy addAttrCleanup on the whole test suite.

Several use case worth mentioning:

- setting a module or any other object attribute is the majority
by far. In some cases the setting itself is deferred but most of
the time we want to set at the same time we add the cleanup.

- there multiple occurrences of protecting hooks or ui factory
which are now useless (the test framework takes care of that now),

- there was some lambda uses that can now be avoided.

That first cleanup already simplifies things a lot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
GNOME project like **beagle**. Firstly, setup a local shared repository
31
31
for storing your branches in and checkout the trunk::
32
32
 
33
 
  bzr init-repo --default-rich-root beagle-repo
 
33
  bzr init-repo beagle-repo
34
34
  cd beagle-repo
35
35
  bzr checkout svn+ssh://svn.gnome.org/svn/beagle/trunk beagle-trunk
36
36
 
37
 
Note that using the ``default-rich-root`` option to ``init-repo`` is
38
 
important as bzr-svn requires some extra metadata not yet supported in Bazaar's
39
 
default repository format. Next, create a feature branch and hack away::
 
37
Next, create a feature branch and hack away::
40
38
 
41
39
  bzr branch beagle-trunk beagle-feature1
42
40
  cd beagle-feature1
71
69
 
72
70
Here's the recipe from above updated to use a central Bazaar mirror::
73
71
 
74
 
  bzr init-repo --default-rich-root beagle-repo
 
72
  bzr init-repo beagle-repo
75
73
  cd beagle-repo
76
74
  bzr branch bzr+ssh://bzr.gnome.org/beagle.bzr/trunk beagle-trunk
77
75
  bzr branch beagle-trunk beagle-feature1