Changeset 1042 in tailor for vcpx/tests/tailor.py


Ignore:
Timestamp:
12/24/05 19:55:47 (7 years ago)
Author:
lele@…
Hash name:
20051224185547-7a6fb-3b0a6becc94e50cea77b4f39c5aa80bcaa73e69a
Message:

New option ignore-externals on svn source backend
This changes the default behaviour of Tailor svn source backend: now
it uses --ignore-externals to checkouts and updates. You can override
the default putting "ignore-externals = False" in the svn repository
section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tests/tailor.py

    r954 r1042  
    212212module = cmfeditions 
    213213subdir = svnside 
     214 
     215 
     216[svn2hg] 
     217source = svn:plonebook 
     218target = hg:plonebook 
     219start-revision = 1101 
     220root-directory = /tmp/tailor-tests/svn2hg 
     221 
     222[svn:plonebook] 
     223repository = http://docit.bice.dyndns.org 
     224module = /Plone/PloneBook2/it 
     225 
     226[hg:plonebook] 
     227 
     228[svn2hg_with_externals] 
     229source = svn:plonebook_we 
     230target = hg:plonebook 
     231start-revision = HEAD 
     232root-directory = /tmp/tailor-tests/svn2hg_we 
     233 
     234[svn:plonebook_we] 
     235repository = http://docit.bice.dyndns.org 
     236module = /Plone/PloneBook2/it 
     237ignore-externals = False 
    214238''' 
    215239 
     
    343367 
    344368 
     369class Svn(OperationalTest): 
     370    "Test the subversion backend" 
     371 
     372    def testExternals(self): 
     373        "Exercise svn to mercurial with and without svn:externals" 
     374 
     375        from os.path import exists 
     376 
     377        external = '/tmp/tailor-tests/svn2hg%s/test/make/docutils.make' 
     378        self.tailorize('svn2hg') 
     379        self.failIf(exists(external % '')) 
     380 
     381        self.tailorize('svn2hg_with_externals') 
     382        self.failUnless(exists(external % '_we')) 
     383 
     384 
    345385class Svndump(OperationalTest): 
    346386    "Test the svndump source backend (deprecated)" 
Note: See TracChangeset for help on using the changeset viewer.