Rev 5313: (lifeless) Cleanup add.py. (Robert Collins) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Tue Jun 22 06:34:54 BST 2010
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 5313 [merge]
revision-id: pqm at pqm.ubuntu.com-20100622053452-y9i382ep257ab8f7
parent: pqm at pqm.ubuntu.com-20100621215953-vfo3e4ubs1gjc6ez
parent: robertc at robertcollins.net-20100621215057-wwiy6fjkwsh7wwpt
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2010-06-22 06:34:52 +0100
message:
(lifeless) Cleanup add.py. (Robert Collins)
modified:
bzrlib/add.py add.py-20050323030017-3a77d63feda58e33
=== modified file 'bzrlib/add.py'
--- a/bzrlib/add.py 2010-04-30 11:03:59 +0000
+++ b/bzrlib/add.py 2010-06-21 21:50:57 +0000
@@ -18,9 +18,7 @@
import sys
-import bzrlib.bzrdir
import bzrlib.osutils
-from bzrlib.symbol_versioning import *
class AddAction(object):
@@ -95,14 +93,3 @@
full_base_path = bzrlib.osutils.pathjoin(self.base_path, path.raw_path)
# This may return None, but it is our last attempt
return self.base_tree.path2id(full_base_path), full_base_path
-
-
-# TODO: jam 20050105 These could be used for compatibility
-# however, they bind against the current stdout, not the
-# one which exists at the time they are called, so they
-# don't work for the test suite.
-# deprecated
-add_action_add = AddAction()
-add_action_null = add_action_add
-add_action_add_and_print = AddAction(should_print=True)
-add_action_print = add_action_add_and_print
More information about the bazaar-commits
mailing list