append_revision() needs to be implemented
authorJelmer Vernooij <jelmer@samba.org>
Fri, 22 Dec 2006 19:54:05 +0000 (20:54 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 22 Dec 2006 19:54:05 +0000 (20:54 +0100)
branch.py
tests/test_branch.py

index d51bade13a048b5c4f8333253b2939d0569e9fef..be55148cb14e7093af3e82008fd5e0ab97694fd0 100644 (file)
--- a/branch.py
+++ b/branch.py
@@ -123,7 +123,6 @@ class SvnBranch(Branch):
         return inv.root.file_id
 
     def _get_nick(self):
-        # FIXME: Get nick name from branch properties?
         try:
             if self.branch_path == "":
                 return None
@@ -209,7 +208,8 @@ class SvnBranch(Branch):
         pass # FIXME: Use svn.client.switch()
 
     def append_revision(self, *revision_ids):
-        raise NotImplementedError(self.append_revision)
+        #raise NotImplementedError(self.append_revision)
+        pass
 
     def get_physical_lock_status(self):
         return False
index c972ad8f001ec5efb0bba81651b4107af58ed087..2ca9d3f7a2f273343190963dae6cd2a07d4b2c3c 100644 (file)
@@ -76,7 +76,7 @@ class WorkingSubversionBranch(TestCaseWithSubversionRepository):
     def test_append_revision(self):
         repos_url = self.make_client('a', 'dc')
         branch = Branch.open("svn+"+repos_url)
-        self.assertRaises(NotImplementedError, branch.append_revision, [])
+        branch.append_revision([])
 
     def test_get_push_location(self):
         repos_url = self.make_client('a', 'dc')