Rev 1623: Fix formatting. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk
Jelmer Vernooij
jelmer at samba.org
Sat Aug 23 19:39:21 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/trunk
------------------------------------------------------------
revno: 1623
revision-id: jelmer at samba.org-20080823183919-s5s1zmxm6fpnbj09
parent: jelmer at samba.org-20080823183903-m1099pb8jx02z3gp
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-08-23 20:39:19 +0200
message:
Fix formatting.
modified:
mapping.py mapping.py-20080128201303-6cp01phc0dmc0kiv-1
=== modified file 'mapping.py'
--- a/mapping.py 2008-08-23 14:55:24 +0000
+++ b/mapping.py 2008-08-23 18:39:19 +0000
@@ -530,8 +530,8 @@
return svnprops
- def export_revision(self, branch_root, timestamp, timezone, committer, revprops, revision_id, revno, merges, old_fileprops):
-
+ def export_revision(self, branch_root, timestamp, timezone, committer,
+ revprops, revision_id, revno, merges, old_fileprops):
# Keep track of what Subversion properties to set later on
fileprops = {}
fileprops[SVN_PROP_BZR_REVISION_INFO] = generate_revision_metadata(
@@ -744,7 +744,7 @@
"""
if not revid.startswith("svn-"):
raise InvalidRevisionId(revid, None)
- mapping_version = revid[len("svn-"):len("svn-vx")]
+ mapping_version = revid.split(":")[0]
mapping = mapping_registry.get(mapping_version)
return mapping.parse_revision_id(revid)
More information about the bazaar-commits
mailing list