Changeset 1105 in tailor
- Timestamp:
- 05/01/06 23:49:55 (7 years ago)
- Hash name:
- 20060501214955-97f81-a823580137e81b05ce6639050657bb534b05d689
- Files:
-
- 3 deleted
- 5 edited
-
vcpx/tests/__init__.py (modified) (1 diff)
-
README (modified) (2 diffs)
-
vcpx/repository.py (modified) (1 diff)
-
vcpx/tests/tailor.py (modified) (2 diffs)
-
vcpx/svndump.py (deleted)
-
vcpx/tests/svndump.py (deleted)
-
vcpx/tests/data/simple.svndump (deleted)
-
vcpx/tests/data/config-basic_test.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/tests/__init__.py
r952 r1105 17 17 from statefile import * 18 18 from tailor import * 19 from svndump import *20 19 21 20 class TailorTest(TestProgram): -
README
r1104 r1105 532 532 indicates the `kind` of the repository, one of ``arx``, ``baz``, ``bzr``, 533 533 ``cdv``, ``cvs``, ``darcs``, ``git``, ``hg``, ``monotone``, 534 ``svn`` , ``svndump``and ``tla``.534 ``svn`` and ``tla``. 535 535 536 536 .. note:: If a particular option is missing from the repository section, … … 720 720 Tailor to behave as it did up to 0.9.20. 721 721 722 svndump723 %%%%%%%724 725 .. warning:: The svndump backend is totally wrong and almost unusable726 at this time, and will be replaced by a third party727 framework.728 729 722 tla 730 723 %%% -
vcpx/repository.py
r1104 r1105 372 372 373 373 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 387 374 class TlaRepository(Repository): 388 375 METADIR = '{arch}' -
vcpx/tests/tailor.py
r1104 r1105 161 161 162 162 163 [svndump2darcs]164 source = svndump:simple165 target = darcs:simple166 root-directory = %(testdir)s/svndump2darcs167 subdir = simple168 start-revision = INITIAL169 170 [svndump:simple]171 repository = %(tailor_repo)s/vcpx/tests/data/simple.svndump172 subdir = plain173 174 [darcs:simple]175 subdir = .176 177 178 [svndump2hg]179 source = svndump:pyobjc180 target = hg:pyobjc181 root-directory = %(testdir)s/svndump2hg182 start-revision = INITIAL183 184 [svndump:pyobjc]185 repository = %(tailor_repo)s/pyobjc.svndump186 subdir = plain187 188 [hg:pyobjc]189 subdir = hg190 191 192 [svndump2hg-partial]193 source = svndump:simple-partial194 target = hg:simple-partial195 root-directory = %(testdir)s/svndump2hg-partial196 start-revision = INITIAL197 198 [svndump:simple-partial]199 repository = %(tailor_repo)s/vcpx/tests/data/simple.svndump200 #repository = /usr/local/tmp/docit.svndump201 module = subdir202 subdir = plain203 204 [hg:simple-partial]205 subdir = hg206 207 208 163 [cvs2svn] 209 164 source = cvs:cmfeditions-houston-sprint … … 420 375 self.tailorize('svn2hg_with_externals') 421 376 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 39 39 [project3] 40 40 root-directory = /tmp/tailor-tests 41 source = svn dump:project3repo41 source = svn:project3repo 42 42 target = darcs:project3repo 43 43 44 [svndump:project3repo] 45 repository = %(tailor_repo)s/vcpx/tests/data/simple.svndump 44 [svn:project3repo] 45 repository = svn://sample.org/svn 46 module = /trunk 46 47 subdir = plain 47 48 … … 50 51 51 52 [project4] 52 source = svn dump:project3repo53 source = svn:project3repo 53 54 target = darcs:project4repo 54 55
Note: See TracChangeset
for help on using the changeset viewer.
