/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: James Westby
  • Date: 2008-02-25 23:41:06 UTC
  • mto: This revision was merged to the branch mainline in revision 3246.
  • Revision ID: jw+debian@jameswestby.net-20080225234106-9b4ql42w13ijewp3
Make version-info --custom imply --all.

When using a custom template you can use variables like {clean} which
are not enabled by default. This causes an ugly traceback.

This fixes the issue by implying --all when --custom (or more exactly
--template) is used, so that all variables are available in templates.

This was the easier fix than having the template code report that the
user should pass --check-clean to have {clean} available, but will
have a performance impact on all users of version-info --custom,
regardless of whether they use {clean}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
 
3
 
from distutils.core import setup
4
 
 
5
 
setup(name='bzr-git',
6
 
      description='Support for Git branches in Bazaar',
7
 
      keywords='plugin bzr git bazaar',
8
 
      version='0.1',
9
 
      url='http://bazaar-vcs.org/BzrForeignBranches/Git',
10
 
      license='GPL',
11
 
      author='Robert Collins',
12
 
      author_email='robertc@robertcollins.net',
13
 
      long_description="""
14
 
      This plugin adds limited support for checking out and viewing 
15
 
      Git branches in Bazaar.
16
 
      """,
17
 
      package_dir={'bzrlib.plugins.git':'.'},
18
 
      packages=['bzrlib.plugins.git'],
19
 
      scripts=['bzr-receive-pack', 'bzr-upload-pack'],
20
 
      )