~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/plugin-api.txt

  • Committer: Patrick Regan
  • Date: 2009-12-02 20:34:07 UTC
  • mto: (4852.3.3 2.1.0b4-doc-updates)
  • mto: This revision was merged to the branch mainline in revision 4856.
  • Revision ID: patrick.rubbs.regan@gmail.com-20091202203407-fjd0mshgn3j3foel
Removed trailing whitespace from files in doc directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
 
129
129
  # (look for a .hg directory)
130
130
  bzr_control_formats = {"Mercurial":{'.hg/': None}}
131
 
  
 
131
 
132
132
  # (look for a file called .svn/format with contents 4\n).
133
133
  bzr_control_formats = {"Subversion":{'.svn/format': '4\n'}}
134
134
 
137
137
-------
138
138
 
139
139
An example setup.py follows::
140
 
  
 
140
 
141
141
  #!/usr/bin/env python2.4
142
142
  from distutils.core import setup
143
 
  
 
143
 
144
144
  bzr_plugin_name = 'demo'
145
145
  bzr_commands = [
146
146
      'new-command',
147
147
      ]
148
 
  
 
148
 
149
149
  bzr_branch_formats = {
150
150
      "Branch label on disk\n":"demo branch",
151
151
      }
153
153
  bzr_control_formats = {"Subversion":{'.svn/format': '4\n'}}
154
154
 
155
155
  bzr_transports = ["hg+ssh://"]
156
 
  
 
156
 
157
157
  bzr_plugin_version = (1, 3, 0, 'dev', 0)
158
158
  bzr_minimum_version = (1, 0, 0)
159
 
  
 
159
 
160
160
  if __name__ == 'main':
161
161
      setup(name="Demo",
162
162
            version="1.3.0dev0",