Rev 2227: Remove pdb imports. in file:///data/jelmer/bzr-svn/mappings/
Jelmer Vernooij
jelmer at samba.org
Mon Dec 8 00:23:32 GMT 2008
At file:///data/jelmer/bzr-svn/mappings/
------------------------------------------------------------
revno: 2227
revision-id: jelmer at samba.org-20081208002328-sfeyni3sesocnqfz
parent: jelmer at samba.org-20081207232507-5hs00babyx7ojem4
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: mappings
timestamp: Mon 2008-12-08 01:23:28 +0100
message:
Remove pdb imports.
modified:
TODO todo-20060729211917-2kpobww0zyvvo0j2-1
revids.py revids.py-20070416220458-36vfa0730cchevp1-1
=== modified file 'TODO'
--- a/TODO 2008-12-07 22:33:10 +0000
+++ b/TODO 2008-12-08 00:23:28 +0000
@@ -5,7 +5,6 @@
- use special fileproperty bzr:use-revprops for when log-revprops is not available
- automatically disable cache in some situations, allow partial cache?
- in-memory caching of revid mapping (LRUCache ?)
-- inventory problem that shows up in bigboard, evolution
more tests:
- Run all tests against repository with revprop changing allowed and without
=== modified file 'revids.py'
--- a/revids.py 2008-12-07 20:36:39 +0000
+++ b/revids.py 2008-12-08 00:23:28 +0000
@@ -81,8 +81,6 @@
assert mapping is not None
revid = revmeta.get_revision_id(mapping)
if revid is not None:
- if mapping.get_branch_root(revmeta.get_revprops()) is None:
- import pdb; pdb.set_trace()
yield (revid, mapping.get_branch_root(revmeta.get_revprops()).strip("/"), revmeta.revnum, revmeta.revnum, mapping)
def discover_fileprop_revids(self, layout, from_revnum, to_revnum, project=None):
@@ -94,8 +92,6 @@
assert isinstance(revno, int)
# Look at their bzr:revision-id-vX
revids = set()
- if self.repos.transport.check_path(branch, revno) != 2:
- import pdb; pdb.set_trace()
try:
revmeta = self.repos._revmeta_provider.lookup_revision(branch, revno)
if revmeta.consider_bzr_fileprops():
More information about the bazaar-commits
mailing list