~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Martin Pool
  • Date: 2006-03-12 14:56:13 UTC
  • mfrom: (1610 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060312145613-c315fd6e73f6c294
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
from bzrlib.symbol_versioning import *
44
44
from bzrlib.trace import mutter
45
45
from bzrlib.transactions import WriteTransaction
46
 
from bzrlib.transport import get_transport
 
46
from bzrlib.transport import get_transport, urlunescape
47
47
from bzrlib.transport.local import LocalTransport
48
48
from bzrlib.weave import Weave
49
49
from bzrlib.xml4 import serializer_v4
1541
1541
        for store_name in ["weaves", "revision-store"]:
1542
1542
            self.pb.note("adding prefixes to %s" % store_name) 
1543
1543
            store_transport = self.bzrdir.transport.clone(store_name)
1544
 
            for filename in store_transport.list_dir('.'):
 
1544
            for urlfilename in store_transport.list_dir('.'):
 
1545
                filename = urlunescape(urlfilename)
1545
1546
                if (filename.endswith(".weave") or
1546
1547
                    filename.endswith(".gz") or
1547
1548
                    filename.endswith(".sig")):