/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 bzrlib/commit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-20 06:38:49 UTC
  • mfrom: (1773.4.3 bzr.mbp.pyflakes)
  • Revision ID: pqm@pqm.ubuntu.com-20060620063849-400861427a3a9ff1
(mbp) pyflakes cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
import re
68
68
import sys
69
69
import time
70
 
import pdb
 
70
import warnings
71
71
 
72
72
from cStringIO import StringIO
73
73
 
85
85
from bzrlib.trace import mutter, note, warning
86
86
from bzrlib.xml5 import serializer_v5
87
87
from bzrlib.inventory import Inventory, ROOT_ID, InventoryEntry
88
 
from bzrlib.symbol_versioning import *
 
88
from bzrlib.symbol_versioning import (deprecated_passed,
 
89
        deprecated_function,
 
90
        zero_seven,
 
91
        DEPRECATED_PARAMETER)
89
92
from bzrlib.workingtree import WorkingTree
90
93
 
91
94
 
220
223
        mutter('preparing to commit')
221
224
 
222
225
        if deprecated_passed(branch):
223
 
            warn("Commit.commit (branch, ...): The branch parameter is "
 
226
            warnings.warn("Commit.commit (branch, ...): The branch parameter is "
224
227
                 "deprecated as of bzr 0.8. Please use working_tree= instead.",
225
228
                 DeprecationWarning, stacklevel=2)
226
229
            self.branch = branch