ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Need help: переезд master на новую ветку upstream
Date: Mon, 10 Nov 2008 13:08:36 +0300
Message-ID: <20081110100836.GA17254@altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

Я давно и с удовольствием собираю RoR.  Надо сказать, что занятие
это неблагодарное - апстрим вменяемостью не отличается и с git
работает также как с subversion.

Есть ветка 2-1-stable, откуда растёт текущая сборка и master
(откуда в своё время "отпочковался" 2-1-stable), где проставили
тег "v2.2.0".  Поскольку максимум, на что способен апстрим это
git cherry-pick, то обычный pull тега v2.2.0 приводит к
множественным конфликтам в самых разных местах.

Я собираю N пакетов, каждый в бранче altlinux/%name.  Хочется
взять все коммиты из altlinux/%name от v2.1.0 до HEAD и приложить
к v2.2.0.  Получается такой rebase, но не совсем:

A--B--C--D - master
\-E--F--G - 2-1-stable
 \-H-+I-+J - altlinux/%name

  ||
  \/

A--B--C--D - master
|        \-H--I--J - altlinux/%name
\-E--F--G - 2-1-stable

Нутром чую, что это не очень возможно, поэтому хочется "по
быстрому" взять только коммиты H, I и J (без E, F и G) чтобы
потом их черрипикнуть.

Или это совсем фиговая идея и проще git diff G..J | git apply - ?

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-11-10 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10 10:08 Alexey I. Froloff [this message]
2008-11-10 10:27 ` Alexander Myltsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081110100836.GA17254@altlinux.org \
    --to=raorn@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git