Код: Выделить всё
>cd /usr/portsКод: Выделить всё
>cat .hgignore
syntax: glob
distfiles/*
INDEX*
.portsnap*
.*
*~
syntax: regexp
\w+/\w+/work/Код: Выделить всё
>hg initКод: Выделить всё
hg commit -q --addremove --message Initпока пьем набиваем одной рукой .hgrc в своем /home
cat ~/.hgrc
Код: Выделить всё
[ui]
username = Gans Otto <gans.otto@gmail.com>
[extensions]
hgext.mq =
>hg log
Код: Выделить всё
changeset: 0:4a0c89096a40
tag: tip
user: Gans Otto <gans.otto@gmail.com>
date: Fri Jan 29 14:52:58 2010 +0300
summary: InitКод: Выделить всё
>hg qinit
>hg qnew -m 'upgrade nagiosgraph to 1.4' nagiosgraphics1.4.patch
>hg log
changeset: 1:9be087d77c68
tag: qtip
tag: nagiosgraphics1.4.patch
tag: tip
tag: qbase
user: Gans Otto <gans.otto@gmail.com>
date: Fri Jan 29 14:59:58 2010 +0300
summary: upgrade nagiosgraph to 1.4
changeset: 0:4a0c89096a40
tag: qparent
user: Gans Otto <gans.otto@gmail.com>
date: Fri Jan 29 14:52:58 2010 +0300
summary: Init
сделали дело, обнволяем текущий патч
Код: Выделить всё
>hg qrefreshКод: Выделить всё
total 14
-rw-r--r-- 1 root wheel 8207 Jan 29 15:04 nagiosgraphics1.4.patch
-rw-r--r-- 1 root wheel 24 Jan 29 14:59 series
-rw-r--r-- 1 root wheel 65 Jan 29 15:04 status
текущие наложенные патчи, смотрим
Код: Выделить всё
>hg qapplied
nagiosgraphics1.4.patch
Код: Выделить всё
>hg qseries
nagiosgraphics1.4.patch
Код: Выделить всё
hg qpop
popping nagiosgraphics1.4.patch
patch queue now empty
суем изменения в репку
Код: Выделить всё
>hg commit -q --addremove --message 'update'
>hg log
changeset: 1:c7b26792ae47
tag: tip
user: Gans Otto <gans.otto@gmail.com>
date: Fri Jan 29 15:12:56 2010 +0300
summary: update
changeset: 0:4a0c89096a40
user: Gans Otto <gans.otto@gmail.com>
date: Fri Jan 29 14:52:58 2010 +0300
summary: Init
Код: Выделить всё
>hg qpush
applying nagiosgraphics1.4.patch
now at: nagiosgraphics1.4.patch
>hg log
changeset: 2:85ad11080524
tag: qtip
tag: nagiosgraphics1.4.patch
tag: tip
tag: qbase
user: hizel-srv <hizel@vyborg.ru>
date: Fri Jan 29 15:15:09 2010 +0300
summary: upgrade nagiosgraph to 1.4
changeset: 1:c7b26792ae47
tag: qparent
user: Gans Otto <gans.otto@gmail.com>
date: Fri Jan 29 15:12:56 2010 +0300
summary: update
changeset: 0:4a0c89096a40
user: Gans Otto <gans.otto@gmail.com>
date: Fri Jan 29 14:52:58 2010 +0300
summary: Initне забываем выслать PR с содержимым
Код: Выделить всё
hg tip -pподробная документация в книге: http://hgbook.red-bean.com/
P.S. плять опять pkg-plist.orig затисался
