Admin/Mercurial/Central/README
changeset 50576 325bf9073c59
parent 48779 71136069089d
equal deleted inserted replaced
50575:ae1da46022d1 50576:325bf9073c59
    11     revlogv1
    11     revlogv1
    12     store
    12     store
    13     fncache
    13     fncache
    14 
    14 
    15 * See http://mercurial.selenic.com/wiki/MultipleCommitters for old-fashioned
    15 * See http://mercurial.selenic.com/wiki/MultipleCommitters for old-fashioned
    16   CVS-like multiple committers configuration, "The filesystem method":
    16   CVS-like multiple committers configuration, "The filesystem method".
       
    17 
       
    18   A fresh multi-user clone is initialized like this:
    17 
    19 
    18     hg --config format.dotencode=0 init isabelle-clone
    20     hg --config format.dotencode=0 init isabelle-clone
    19     cd isabelle-clone
    21     cd isabelle-clone
    20     chgrp -R isabelle .hg
    22     chgrp -R isabelle .hg
    21     chmod g+s .hg .hg/store
    23     chmod g+s .hg .hg/store
    23     chmod -R g+w .hg
    25     chmod -R g+w .hg
    24 
    26 
    25   Now isabelle-clone is ready for push of repository data (without making
    27   Now isabelle-clone is ready for push of repository data (without making
    26   a working directory).
    28   a working directory).
    27 
    29 
       
    30 * Addressing technical issues: according to
       
    31   http://mercurial.selenic.com/wiki/PublishingRepositories our shared disk
       
    32   configuration (after regular ssh login) is characterized as follows:
       
    33 
       
    34     Advantages: can use existing setup
       
    35 
       
    36     Disadvantages: generally restricted to intranets, not generally
       
    37     recommended due to general issues with network filesystem reliability
       
    38 
       
    39   Due to NFS instabilities of unknown origin at TUM, drop-outs have
       
    40   happened before. The following measures of last resort can be applied:
       
    41 
       
    42     (a) "hg verify" to find offending changesets
       
    43         "hg strip REV" to remove parts of the public history by vivisection
       
    44 
       
    45     (b) fresh clone from known-good source as explained above
       
    46 
       
    47   Note that any such non-monotonic changes on the central push area work
       
    48   under the assumption of sequential single-user mode!!
       
    49 
       
    50   See also http://mercurial.selenic.com/wiki/RepositoryCorruption for
       
    51   further background information.
       
    52