Rev 2429: remove out-dated doc test in inventory in http://bazaar.launchpad.net/%7Ebzr/bzr/dirstate
John Arbash Meinel
john at arbash-meinel.com
Wed Feb 28 15:42:03 GMT 2007
At http://bazaar.launchpad.net/%7Ebzr/bzr/dirstate
------------------------------------------------------------
revno: 2429
revision-id: john at arbash-meinel.com-20070228154101-ht3tfhe0s7d5k3ds
parent: john at arbash-meinel.com-20070227220753-bdvb7lo8fu5yhqg9
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: dirstate
timestamp: Wed 2007-02-28 09:41:01 -0600
message:
remove out-dated doc test in inventory
modified:
bzrlib/inventory.py inventory.py-20050309040759-6648b84ca2005b37
-------------- next part --------------
=== modified file 'bzrlib/inventory.py'
--- a/bzrlib/inventory.py 2007-02-26 22:08:14 +0000
+++ b/bzrlib/inventory.py 2007-02-28 15:41:01 +0000
@@ -97,10 +97,6 @@
(True, InventoryDirectory('TREE_ROOT', u'', parent_id=None, revision=None))
(True, InventoryDirectory('123', 'src', parent_id='TREE_ROOT', revision=None))
(True, InventoryFile('2323', 'hello.c', parent_id='123', sha1=None, len=None))
- >>> i.add(InventoryFile('2323', 'bye.c', '123'))
- Traceback (most recent call last):
- ...
- BzrError: inventory already contains entry with id {2323}
>>> i.add(InventoryFile('2324', 'bye.c', '123'))
InventoryFile('2324', 'bye.c', parent_id='123', sha1=None, len=None)
>>> i.add(InventoryDirectory('2325', 'wibble', '123'))
More information about the bazaar-commits
mailing list