Start working on support for new API.
authorJelmer Vernooij <jelmer@tosca>
Mon, 6 Mar 2006 12:44:08 +0000 (13:44 +0100)
committerJelmer Vernooij <jelmer@tosca>
Mon, 6 Mar 2006 12:44:08 +0000 (13:44 +0100)
PLAN
README
__init__.py
branch.py [moved from svnbranch.py with 100% similarity]
repository.py [new file with mode: 0644]
workingtree.py [new file with mode: 0644]

diff --git a/PLAN b/PLAN
index 709ab3a79408cb1c222f394bd756fc3ce9a6de6f..7da325a275dbf995f8077b2aa7941a49245f8915 100644 (file)
--- a/PLAN
+++ b/PLAN
@@ -1,3 +1,12 @@
+class SvnBranch(ForeignBranch):
+
+
+class SvnRepository(ForeignRepository):
+
+
+class SvnWorkingTree(WorkingTree):
+       
+
 - svnpull
  - Maybe store latest known revision somewhere ?
  - walk over revno's and see if they already exist locally
diff --git a/README b/README
index 4bf1e5b07282747d4be176bbe36d16b33fcf2fb6..42a1bd68b1a301f807a6a504b91e2b332f814251 100644 (file)
--- a/README
+++ b/README
@@ -1,8 +1,5 @@
 This directory contains a simple plugin that adds 
-Subversion branch support to Bazaar-ng (http://www.bazaar-ng.org/)
-
-In order for this to work, you need to have the object oriented python 
-bindings for Subversion installed (see http://pysvn.tigris.org/).
+Subversion branch support to Bazaar (http://www.bazaar-vcs.org/)
 
 You will need a modified version of bzr that has support for 
 foreign branches (branch at http://samba.org/~jelmer/bzr/foreignbranch)
index 57b89e5cd2684865eb0b650832deb305ac9a5c90..4deec8967fcf51ef83f8947bc2adde8caef70000 100644 (file)
@@ -7,7 +7,7 @@ Support for foreign branches (Subversion)
 """
 import sys
 import os.path
-import svnbranch
+import branch
 
 sys.path.append(os.path.dirname(__file__))
 
similarity index 100%
rename from svnbranch.py
rename to branch.py
diff --git a/repository.py b/repository.py
new file mode 100644 (file)
index 0000000..33d6728
--- /dev/null
@@ -0,0 +1,14 @@
+# Foreign branch support for Subversion
+# Copyright (C) 2006 Jelmer Vernooij <jelmer@samba.org>
+#
+# Published under the GNU GPL
+
+from bzrlib.repository import Repository
+import bzrlib
+
+"""
+Provides a simplified interface to a Subversion repository 
+by using the RA (remote access) API from subversion
+"""
+class SvnRepository(Repository):
+       pass
diff --git a/workingtree.py b/workingtree.py
new file mode 100644 (file)
index 0000000..e8e5ffe
--- /dev/null
@@ -0,0 +1,10 @@
+# Foreign branch support for Subversion
+# Copyright (C) 2006 Jelmer Vernooij <jelmer@samba.org>
+#
+# Published under the GNU GPL
+
+from bzrlib.workingtree import WorkingTree
+import bzrlib
+
+class SvnWorkingTree(WorkingTree):
+       pass