~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/overview.txt

  • Committer: John Arbash Meinel
  • Date: 2009-10-12 21:44:27 UTC
  • mto: This revision was merged to the branch mainline in revision 4737.
  • Revision ID: john@arbash-meinel.com-20091012214427-zddi1kmc2jlf7v31
Py_ssize_t and its associated function typedefs are not available w/ python 2.4

So we define them in python-compat.h
Even further, gcc issued a warning for:
static int
_workaround_pyrex_096()
So we changed it to:
_workaround_pyrex_096(void)

Also, some python api funcs were incorrectly defined as 'char *' when they meant
'const char *'. Work around that with a (char *) cast, to avoid compiler warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
document, send a merge request or new text to the mailing list.
13
13
 
14
14
The current version of this document is available in the file
15
 
``doc/developers/overview.txt`` in the source tree, and available online
 
15
``doc/developers/overview.txt`` in the source tree, and available online 
16
16
within the developer documentation, <http://doc.bazaar-vcs.org/developers/>.
17
17
 
18
18
 
101
101
store a full text of the inventory, and of every new file text.
102
102
 
103
103
At runtime, repository stacking is actually configured by the branch, not
104
 
the repository.  So doing ``a_bzrdir.open_repository()``
105
 
gets you just the single physical repository, while
106
 
``a_bzrdir.open_branch().repository`` gets one configured with a stacking.
 
104
the repository.  So doing ``a_bzrdir.open_repository()`` 
 
105
gets you just the single physical repository, while 
 
106
``a_bzrdir.open_branch().repository`` gets one configured with a stacking. 
107
107
Therefore, to permanently change the fallback repository stored on disk,
108
 
you must use ``Branch.set_stacked_on_url``.
 
108
you must use ``Branch.set_stacked_on_url``.  
109
109
 
110
110
Changing away from an existing stacked-on URL will copy across any
111
111
necessary history so that the repository remains usable.