Rev 4696: Align RevisionTextStore and SignatureTextStore keys() definitions. in file:///home/vila/src/bzr/bugs/430868-sig-domain/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Wed Sep 16 18:19:07 BST 2009
At file:///home/vila/src/bzr/bugs/430868-sig-domain/
------------------------------------------------------------
revno: 4696
revision-id: v.ladeuil+lp at free.fr-20090916171907-i5pd2mrwgg1dzmtr
parent: pqm at pqm.ubuntu.com-20090916123002-46bfl24pa898h8cq
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 430868-sig-domain
timestamp: Wed 2009-09-16 19:19:07 +0200
message:
Align RevisionTextStore and SignatureTextStore keys() definitions.
* bzrlib/repofmt/weaverepo.py:
(RevisionTextStore.keys): Incredibly resistant and dormant bug.
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS 2009-09-16 10:29:18 +0000
+++ b/NEWS 2009-09-16 17:19:07 +0000
@@ -74,6 +74,10 @@
chk_bytes root records.
(Andrew Bennetts, #423506)
+* Weave based repositories couldn't be cloned when committers were using
+ domains or user ids embedding '.sig'. Now they can.
+ (Matthew Fuller, Vincent Ladeuil, #430868)
+
Improvements
************
=== modified file 'bzrlib/repofmt/weaverepo.py'
--- a/bzrlib/repofmt/weaverepo.py 2009-08-18 14:49:52 +0000
+++ b/bzrlib/repofmt/weaverepo.py 2009-09-16 17:19:07 +0000
@@ -688,7 +688,7 @@
path, ext = os.path.splitext(relpath)
if ext == '.gz':
relpath = path
- if '.sig' not in relpath:
+ if not relpath.endswith('.sig'):
relpaths.add(relpath)
paths = list(relpaths)
return set([self._mapper.unmap(path) for path in paths])
More information about the bazaar-commits
mailing list