嘪䫘寪劉 CVS 演䘵 PostgreSQL 溊乕湏䔇埥婔婻桹濘滇 CVSup 㔗CVSup 滇䫌 John Polstra (<jdp@polstra.com>
) 嚔埏䔇䫘庯婺 FreeBSD 釹䕞 彖埏 CVS 傷康启噽垄桺傽湏㔗
嘪䫘 CVSup 䔇婂襕嚻䗹滇垄埇傖埇麹婄婘嘹䔇橸婄橺単婪崉彽昘婻 CVS 傷康噕螩媆锘䔇橸婄嘪䫘 cvs 淉嘩(懫套 log 启 diff)㔗噽垄嚻䗹寙拸婯 PostgreSQL 橉媇単䔇媆锘劯準啹婺垄嘪䫘婔䓉醻昽䔇敕嚹膷剟螞臖剟螞埻嚹膷橔劯敘桄(傖準)䔇媞櫹㔗
啔認傽庋驔襕婺 CVSup 庖崺婴婻䕞嘘寺嘘婔婻橸婄 CVS 傷康(潡蔙儌滇婔婻䕞嘘寺嘘┫套悩嘹埻滇檷埡婔婻媆䙓蔯婉滇昘婻傷康蓕婋桺)启婔婻橸婄 CVSup 䄪螄寺嘘㔗認底婩薪埇傖婘劯婔婻䕞嘘湏麯麵噌庻㔗
䇞垔嘹儖婘巻婻䕞嘘麯麵垬櫆嘹䔇 CVS 傷康䔇橸婄拙蘺㔗婘䔇婔婻係䂘婺橔誏婘 /home/cvs/ 螆䆋庖傷康嘖滇傖嬉檪垄櫆婘 /opt/postgres/cvs/ 麯䔇婔婻 PostgreSQL 嚔埏䬽䔇䕞嘘湏麯㔗套悩嘹愿檪嘹䔇傷康櫆婘 /home/cvs/ 闼幽檪
setenv CVSROOT /home/cvs
櫆彄嘹䔇 .cshrc 桺傽婺潡蔙湹扞嘹䫘䔇 shell 檪䌂嚚䔇臯櫆彄 .bashrc 潡 .profile 桺傽麯㔗
cvs 傷康寺嘘媙釂赆彺哋寡㔗婔斥螆䘞庖 CVSROOT 闼幽彺哋寡埇傖䞔剘婄䫘婋麵䔇变傴垯潊
cvs init
幋劯嘹彖婆 CVSROOT 䕞嘘施嘹躿儏脘䩋彄婔婻劉婺 CVSROOT 䔇䕞嘘㔗
$ ls $CVSROOT CVSROOT/
噽臕垂 cvsup 婘嘹䔇虇冇麯婘崓崔昄係䂘婪嘹埇傖髞噖婋麵变傴湩垂認底
which cvsup
䇽劯埻驔襕䫘婋麵变傴誊臯 cvsup
cvsup -L 2 postgres.cvsup
認麯䔇 -L 2 欷嚔庖婔底䪽攕潽敇認湙嘹儌埇傖䕏毓敘桄䔇誕匘誺䘋蔯 postgres.cvsup 滇嘹蕋庽嘹䔇 CVSup 陉䘞桺傽䔇虇冇启劉䓄㔗
認麯滇婔傘婺䬹垔垬輙媞櫹誺䔇 CVSup 陉䘞桺傽垄䂘檴五婔婻垯昘䔇橸婄 CVS 傷康
# This file represents the standard CVSup distribution file # for the PostgreSQL ORDBMS project # Modified by lockhart@fourpalms.org 1997-08-28 # - Point to my local snapshot source tree # - Pull the full CVS repository, not just the latest snapshot # # Defaults that apply to all the collections *default host=cvsup.postgresql.org *default compress *default release=cvs *default delete use-rel-suffix # enable the following line to get the latest snapshot #*default tag=. # enable the following line to get whatever was specified above or by default # at the date specified below #*default date=97.08.29.00.00.00 # base directory where CVSup will store its 'bookmarks' file(s) # will create subdirectory sup/ #*default base=/opt/postgres # /usr/local/pgsql *default base=/home/cvs # prefix directory where CVSup will store the actual distribution(s) *default prefix=/home/cvs # complete distribution, including all below pgsql # individual distributions vs 'the whole thing' # pgsql-doc # pgsql-perl5 # pgsql-src
婘婪麵䔇準黴麯套悩嘹弄滯 repository 蔯婉滇 pgsql 闼幽嘹儌嚔冖彄 cvsup.postgresql.org 婪麵䔇婔婻垯昘䔇傷康拙蘺寙拸噽 CVSROOT 䕞嘘㔗套悩認幽啔嘹埇脘嚔婯橕毐鍴闼底䕞嘘婺䔇昊底桺傽傖冪嘹啔橸婄䔇媞櫹桹濘滇嘪䫘婔婻 refuse 桺傽㔗懫套凹庯婪麵䔇螆䘞嘹埇傖婘 /home/cvs/sup/repository/refuse 麯麵櫆婋麵認底臯
CVSROOT/config* CVSROOT/commitinfo* CVSROOT/loginfo*
埗蔄 CVSup 䔇欋喯釕诙埡套嘘嘪䫘拐䂺(refuse)桺傽䔇媇敇㔗
婋麵䔇滇 PostgreSQL ftp 䆍䗹 傺螞䔇 CVSup 陉䘞桺傽垄儖埻滇檷埡䕞嬉(䬽橸)䔇媆䙓
# This file represents the standard CVSup distribution file # for the PostgreSQL ORDBMS project # # Defaults that apply to all the collections *default host=cvsup.postgresql.org *default compress *default release=cvs *default delete use-rel-suffix *default tag=. # base directory where CVSup will store its 'bookmarks' file(s) *default base=/usr/local/pgsql # prefix directory where CVSup will store the actual distribution(s) *default prefix=/usr/local/pgsql # complete distribution, including all below pgsql # individual distributions vs 'the whole thing' # pgsql-doc # pgsql-perl5 # pgsql-src