Rev 2416: Remove outdated inventory doctest in http://sourcefrog.net/bzr/dirstate-plus-subtree
Martin Pool
mbp at sourcefrog.net
Tue Feb 27 06:03:24 GMT 2007
At http://sourcefrog.net/bzr/dirstate-plus-subtree
------------------------------------------------------------
revno: 2416
revision-id: mbp at sourcefrog.net-20070227060323-142rxg5dq06h0w8l
parent: mbp at sourcefrog.net-20070227055136-6y8ueffopkd59lzf
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: dirstate-plus-subtree
timestamp: Tue 2007-02-27 17:03:23 +1100
message:
Remove outdated inventory doctest
modified:
bzrlib/inventory.py inventory.py-20050309040759-6648b84ca2005b37
=== modified file 'bzrlib/inventory.py'
--- a/bzrlib/inventory.py 2007-02-27 05:51:36 +0000
+++ b/bzrlib/inventory.py 2007-02-27 06:03:23 +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