Rev 1777: Add names for v1 and v2 mappings. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Tue Sep 2 02:49:30 BST 2008


At file:///data/jelmer/bzr-svn/trunk/

------------------------------------------------------------
revno: 1777
revision-id: jelmer at samba.org-20080902014929-nk64wlimf8xob98z
parent: jelmer at samba.org-20080902013901-kobhvs4fzvjhr07k
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Tue 2008-09-02 03:49:29 +0200
message:
  Add names for v1 and v2 mappings.
modified:
  mapping.py                     mapping.py-20080128201303-6cp01phc0dmc0kiv-1
=== modified file 'mapping.py'
--- a/mapping.py	2008-09-01 22:34:27 +0000
+++ b/mapping.py	2008-09-02 01:49:29 +0000
@@ -441,6 +441,8 @@
     It does not support pushing revisions to Subversion as-is, but only 
     as part of a merge.
     """
+    name = "v1"
+
     @classmethod
     def revision_id_bzr_to_foreign(cls, revid):
         if not revid.startswith("svn-v1:"):
@@ -465,6 +467,8 @@
     """The second version of the mappings as used in the 0.3.x series.
 
     """
+    name = "v2"
+
     @classmethod
     def revision_id_bzr_to_foreign(cls, revid):
         if not revid.startswith("svn-v2:"):




More information about the bazaar-commits mailing list