Changeset 1105 in tailor


Ignore:
Timestamp:
05/01/06 23:49:55 (7 years ago)
Author:
lele@…
Hash name:
20060501214955-97f81-a823580137e81b05ce6639050657bb534b05d689
Message:

Remove obsolete svndump backend

Files:
3 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tests/__init__.py

    r952 r1105  
    1717from statefile import * 
    1818from tailor import * 
    19 from svndump import * 
    2019 
    2120class TailorTest(TestProgram): 
  • README

    r1104 r1105  
    532532indicates the `kind` of the repository, one of ``arx``, ``baz``, ``bzr``, 
    533533``cdv``, ``cvs``, ``darcs``, ``git``, ``hg``, ``monotone``,  
    534 ``svn``, ``svndump`` and ``tla``. 
     534``svn`` and ``tla``. 
    535535 
    536536.. note:: If a particular option is missing from the repository section, 
     
    720720  Tailor to behave as it did up to 0.9.20. 
    721721 
    722 svndump 
    723 %%%%%%% 
    724  
    725 .. warning:: The svndump backend is totally wrong and almost unusable 
    726              at this time, and will be replaced by a third party 
    727              framework. 
    728  
    729722tla 
    730723%%% 
  • vcpx/repository.py

    r1104 r1105  
    372372 
    373373 
    374 class SvndumpRepository(Repository): 
    375  
    376     def _validateConfiguration(self): 
    377         Repository._validateConfiguration(self) 
    378  
    379         if self.module and self.module.startswith('/'): 
    380             self.log.debug("Removing starting '/' from module %r in %r", 
    381                            self.module, self.name) 
    382             self.module = self.module[1:] 
    383         if self.module and not self.module.endswith('/'): 
    384             self.module = self.module+'/' 
    385  
    386  
    387374class TlaRepository(Repository): 
    388375    METADIR = '{arch}' 
  • vcpx/tests/tailor.py

    r1104 r1105  
    161161 
    162162 
    163 [svndump2darcs] 
    164 source = svndump:simple 
    165 target = darcs:simple 
    166 root-directory = %(testdir)s/svndump2darcs 
    167 subdir = simple 
    168 start-revision = INITIAL 
    169  
    170 [svndump:simple] 
    171 repository = %(tailor_repo)s/vcpx/tests/data/simple.svndump 
    172 subdir = plain 
    173  
    174 [darcs:simple] 
    175 subdir = . 
    176  
    177  
    178 [svndump2hg] 
    179 source = svndump:pyobjc 
    180 target = hg:pyobjc 
    181 root-directory = %(testdir)s/svndump2hg 
    182 start-revision = INITIAL 
    183  
    184 [svndump:pyobjc] 
    185 repository = %(tailor_repo)s/pyobjc.svndump 
    186 subdir = plain 
    187  
    188 [hg:pyobjc] 
    189 subdir = hg 
    190  
    191  
    192 [svndump2hg-partial] 
    193 source = svndump:simple-partial 
    194 target = hg:simple-partial 
    195 root-directory = %(testdir)s/svndump2hg-partial 
    196 start-revision = INITIAL 
    197  
    198 [svndump:simple-partial] 
    199 repository = %(tailor_repo)s/vcpx/tests/data/simple.svndump 
    200 #repository = /usr/local/tmp/docit.svndump 
    201 module = subdir 
    202 subdir = plain 
    203  
    204 [hg:simple-partial] 
    205 subdir = hg 
    206  
    207  
    208163[cvs2svn] 
    209164source = cvs:cmfeditions-houston-sprint 
     
    420375        self.tailorize('svn2hg_with_externals') 
    421376        self.failUnless(exists(external % '_we')) 
    422  
    423  
    424 class Svndump(OperationalTest): 
    425     "Test the svndump source backend (deprecated)" 
    426  
    427     def testSvndumpToDarcs(self): 
    428         "Test subversion dump to darcs" 
    429  
    430         self.tailorize('svndump2darcs') 
    431  
    432     def testSvndumpToMercurial(self): 
    433         "Test subversion dump to mercurial" 
    434  
    435         self.tailorize('svndump2hg') 
    436  
    437     def testPartialSvndumpToMercurial(self): 
    438         "Test partial subversion dump to mercurial" 
    439  
    440         self.tailorize('svndump2hg-partial') 
  • vcpx/tests/data/config-basic_test.py

    r1056 r1105  
    3939[project3] 
    4040root-directory = /tmp/tailor-tests 
    41 source = svndump:project3repo 
     41source = svn:project3repo 
    4242target = darcs:project3repo 
    4343 
    44 [svndump:project3repo] 
    45 repository = %(tailor_repo)s/vcpx/tests/data/simple.svndump 
     44[svn:project3repo] 
     45repository = svn://sample.org/svn 
     46module = /trunk 
    4647subdir = plain 
    4748 
     
    5051 
    5152[project4] 
    52 source = svndump:project3repo 
     53source = svn:project3repo 
    5354target = darcs:project4repo 
    5455 
Note: See TracChangeset for help on using the changeset viewer.