• [^] # Re: décentralisation

    Posté par . En réponse à la dépêche Sortie de GNU Arch/TLA 1.2. Évalué à 7.

    Tu fais pas une copie du "repository". Tu fais un branche dans ton archive locale.

    # création de l'archive
    tla make-archive toto@vacances--local ~/arch/local/
    tla my-default-archive toto@vacances--local
    # création de la branche
    tla archive-setup --vacances--1.0

    # ensuite tu établie une relation de filialiation entre ta branche locale et l'officielle
    tla tag toto@officiel--projects/--main--1.0 --vacances--1.0
    tla cacherev --vacances--1.0--base-0

    # tu fais ensuite des changesets propres
    vim `tla make-log`
    tla commit
    ...

    # et quand tu reviens, tu merge soit les changesets, soit la branche
    tla register-archive sftp://monportable/home/arch/local(...)
    tla star-merge toto@vacances--local/--vacances--1.0

    # ensuite tu règle les conflits

    tla log-for-merge >> `tla make-log`
    vim `tla make-log`

    tla commit

    Bon, il y a certainement d'autres méthodes, recettes, trucs, etc ...
    mais moi j'en suis que là pour l'instant ;)