mercurial/phases.py
changeset 15705 e34f4d1f0dbb
parent 15697 21eb048edc19
child 15818 57241845a4bb
equal deleted inserted replaced
15704:8857e150bec0 15705:e34f4d1f0dbb
    32 These phases share a hierarchy of traits:
    32 These phases share a hierarchy of traits:
    33 
    33 
    34             immutable shared
    34             immutable shared
    35     public:     X        X
    35     public:     X        X
    36     draft:               X
    36     draft:               X
       
    37     secret:
    37 
    38 
    38 local commits are draft by default
    39 local commits are draft by default
    39 
    40 
    40 Phase movement and exchange
    41 Phase movement and exchange
    41 ============================
    42 ============================
    47 A small list of fact/rules define the exchange of phase:
    48 A small list of fact/rules define the exchange of phase:
    48 
    49 
    49 * old client never changes server states
    50 * old client never changes server states
    50 * pull never changes server states
    51 * pull never changes server states
    51 * publish and old server csets are seen as public by client
    52 * publish and old server csets are seen as public by client
       
    53 
       
    54 * Any secret changeset seens in another repository is lowered to at least draft
    52 
    55 
    53 
    56 
    54 Here is the final table summing up the 49 possible usecase of phase exchange:
    57 Here is the final table summing up the 49 possible usecase of phase exchange:
    55 
    58 
    56                            server
    59                            server