Changeset 1232 in tailor for README


Ignore:
Timestamp:
08/08/06 21:59:00 (7 years ago)
Author:
lele@…
Hash name:
20060808195900-97f81-e00dd8c7f4d3a5fc2081f5c36efada9a4d944734
Message:

Mention the source-xxx and target-xxx way of setting options in [DEFAULT] section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README

    r1195 r1232  
    539539          falling back to the ``[DEFAULT]`` section. 
    540540 
     541Some options may be shared with others repositories, like in the 
     542following example, where the common settings for the target monotone 
     543repository are set just once:: 
     544 
     545  [DEFAULT] 
     546  target-repository = /bigdisk/my-huge-repository.mtn 
     547  target-keyid = test@example.com 
     548  target-passphrase = lala 
     549  source-repository = http://svn.someserver.com 
     550   
     551  [productA] 
     552  target = monotone:productA 
     553  source = svn:sourceA 
     554 
     555  [productB] 
     556  target = monotone:productB 
     557  source = darcs:sourceB 
     558 
     559  [productC] 
     560  target = monotone:productC 
     561  source = svn:sourceC 
     562   
     563  ... 
     564 
     565  [monotone:productA] 
     566  module = every.thing.productA 
     567 
     568  [monotone:productB] 
     569  module = every.thing.productB 
     570 
     571  [monotone:productC] 
     572  module = every.thing.productC 
     573   
     574  [svn:sourceA] 
     575  module = /productA 
     576 
     577  [darcs:sourceB] 
     578  repository = http://some.server.com/darcs/productB 
     579 
     580  [svn:sourceC] 
     581  module = /productC 
     582 
     583 
     584Common options 
     585%%%%%%%%%%%%%% 
     586 
    541587repository : string 
    542588  When a repository is used as a `source`, it must indicate its origin 
Note: See TracChangeset for help on using the changeset viewer.