Changeset 1676 in tailor


Ignore:
Timestamp:
11/08/10 18:18:08 (19 months ago)
Author:
lele@…
Hash name:
20101108171808-97f81-dbe0a13c2d346c066d5bd639dc8a2c0593276cdf
Message:

Added an example of metadir usage, from Gabriel's email

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.rst

    r1675 r1676  
    918918  *_darcs* by default. 
    919919 
     920  It allows you to specify the location of the _darcs repository, 
     921  which makes it possible to have the following structure:: 
     922 
     923      - target_repo 
     924        | _darcs 
     925        | source_repo_A 
     926          | source_repo_C 
     927          | source_repo_D 
     928        | source_repo_B 
     929          | source_repo_E 
     930 
     931  Every source_repo (from A to E) is registered in target_repo, merging 
     932  them in a single darcs repository (but you still need five target 
     933  repository in the config file, to specify each metadir). 
     934 
     935  Here is a sample config (from a real-world example) to give you and idea 
     936  of how I use it (with a "disjunct working directories" scheme):: 
     937 
     938      [DEFAULT] 
     939      projects = cil,ocamlutil 
     940      root-directory = /tmp/test 
     941 
     942      [cil] 
     943      source = svn:cil 
     944      start-revision = 10792 
     945      state-file = cil.tailor.state 
     946      target = darcs:cil 
     947      filter-badchars = True 
     948 
     949      [ocamlutil] 
     950      source = svn:ocamlutil 
     951      start-revision = 10719 
     952      state-file = ocamlutil.tailor.state 
     953      target = darcs:ocamlutil 
     954      filter-badchars = True 
     955 
     956      [svn:cil] 
     957      module = /trunk/cil 
     958      repository = svn://hal.cs.berkeley.edu/home/svn/projects 
     959      subdir = cil-svn 
     960 
     961      [darcs:cil] 
     962      subdir = cil-patched 
     963 
     964      [svn:ocamlutil] 
     965      module = /trunk/ocamlutil 
     966      repository = svn://hal.cs.berkeley.edu/home/svn/projects 
     967      subdir = cil-svn/ocamlutil 
     968 
     969      [darcs:ocamlutil] 
     970      subdir = cil-patched/ocamlutil 
     971      metadir = ../_darcs 
     972 
    920973  .. note:: This setting must not be mistaken with the ``--repodir`` option 
    921974            from darcs. It should always match the following regexp: 
Note: See TracChangeset for help on using the changeset viewer.