cvs,latest branch version

Giorgos Keramidas keramida at ceid.upatras.gr
Sun Feb 23 19:21:02 EET 2003


On 2003-02-23 16:16, Pavlos Parissis <p_pavlos at freemail.gr> wrote:
> Otan ksana ekana checkout phra ta teleftaia revisions twn files pou
> tixenei na einai to tag rel-1-0. Kanw pali allages kai kanw pali
> commit kai meta tag -r rel-1-1. Ama thelw na dw tis prwtes allages
> tote apla kane checkout -r rel-1-0 kai afto htan. Ara tha exw ti
> ekseis politi:
> 1-> checkout
> 2-> modify
> 3-> commit
> 4->tag rel-1-n .

Giati tag?   Ta tags einai operations pou ginontai sta metadata tou
KATHE arxeiou sto repository, kai kostizei se disk space, se xrono
gia na ftiaxtei kai den eksuphretei se tipota, afou etsi ki allios
opws les tha exeis panta tin teleytaia revision se ola ta mhxanhmata.

A, kai fysika, an einai na dhmiourgeis neo 'package' me tis allages
sto /etc kathe fora pou kaneis mia mikrh allagh, tha exeis se ligo
aaaaaaapeira tags.

> Twra to mono pou menei einai na vrw ena tropo na petaw thn version
> tou teleftaiou tag pou eftiaksa se ena arxeio. Lew teleftaio tag
> dioti simfona me thn politiki pou tha exw panta to teleftaio tag na
> isodinami me to ti exei exei to main branch.  Ta lew kala afth thn
> fora?

An ta onomata twn versions mporoun na ginoun sort me bash kapoio
xarakthristiko tous (p.x. parakatw egw xrhsimopoiw thn hmeromhnia
pou egine import ena snapshot gia onoma tou snapshot tag), mporeis
panta na kaneis kati san:

    $ cd /a/giorgos/fx/doc
    $ cvs stat -v Makefile | grep snap- | sort -r | head -1 | awk '{print $1}'
    snap-2003-02-18-2336
    $

To amesos prohgoumeno tag einai to:

    $ cvs stat -v Makefile | grep snap- | sort -r | head -2 | tail -1 | awk '{print $1}'
    snap-2003-02-18-0259
    $

Klp. klp. klp.

> Paw na ftiaksw frappe dioti mpouktisa..

:P




More information about the Linux-greek-users mailing list