Rev 1: Empty shell in file:///v/home/vila/.bazaar/plugins/upload/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Mar 7 14:59:55 GMT 2008


At file:///v/home/vila/.bazaar/plugins/upload/

------------------------------------------------------------
revno: 1
revision-id:v.ladeuil+lp at free.fr-20080307145954-v3fi9i5sekdgfdj0
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: upload
timestamp: Fri 2008-03-07 15:59:54 +0100
message:
  Empty shell
added:
  __init__.py                    __init__.py-20080307145942-xx1xgifrreovahgz-1
  test_upload.py                 test_upload.py-20080307145942-xx1xgifrreovahgz-2
-------------- next part --------------
=== added file '__init__.py'
--- a/__init__.py	1970-01-01 00:00:00 +0000
+++ b/__init__.py	2008-03-07 14:59:54 +0000
@@ -0,0 +1,38 @@
+# Copyright (C) 2007 Canonical Ltd
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+"""Upload a working treem incrementally"""
+
+from bzrlib import commands
+
+class cmd_upload(commands.Command):
+    def run(self):
+        pass
+
+commands.register_command(cmd_upload)
+
+def test_suite():
+    from bzrlib.tests import TestUtil
+
+    suite = TestUtil.TestSuite()
+    loader = TestUtil.TestLoader()
+    testmod_names = [
+        'test_upload',
+        ]
+
+    suite.addTest(loader.loadTestsFromModuleNames(
+            ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
+    return suite

=== added file 'test_upload.py'
--- a/test_upload.py	1970-01-01 00:00:00 +0000
+++ b/test_upload.py	2008-03-07 14:59:54 +0000
@@ -0,0 +1,19 @@
+# Copyright (C) 2007 Canonical Ltd
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+from bzrlib import tests
+
+



More information about the bazaar-commits mailing list