From: Elrond <elrond+kernel.org@samba-tng.org>
To: git@vger.kernel.org
Subject: git-cvsimport gets parents wrong for branches
Date: Mon, 3 Jul 2006 23:53:03 +0200 [thread overview]
Message-ID: <20060703215303.GA24572@memak.tu-darmstadt.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 811 bytes --]
Hi,
Just by accident I noticed, that git-cvsimport got the
parents for branches wrong in one of my projects.
To assist in debugging this, I've made up a testcase script
(appended to this mail).
It will create a new cvs-repo, put 4 commits in it,
and finally run gitk to investigate it.
It should look something like this:
4 [branch-stable-fixes] commit-on-branch
3 | [master] [origin] commit-master-after-branch
|/
2 [tag-branchpoint] commit-first-edit
1 commit-base
What it really looks like:
4 ..
3 ..
2 ..
1 ..
4's parent is 3, not (as it should) 2.
I've tested with 1.4.0 and the current git-cvsimport from
8fced61.
I hope the testcase helps tracking the problem down.
Elrond
p.s.: The testcase script is not nice. It just does the
job, nothing more.
[-- Attachment #2: cvs-branches-1.sh --]
[-- Type: application/x-sh, Size: 687 bytes --]
next reply other threads:[~2006-07-03 21:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-03 21:53 Elrond [this message]
2006-07-03 23:15 ` git-cvsimport gets parents wrong for branches Martin Langhoff
2006-07-04 8:09 ` Johannes Schindelin
2006-07-04 11:03 ` Elrond
2006-07-04 11:33 ` Johannes Schindelin
2006-07-04 10:46 ` Elrond
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=20060703215303.GA24572@memak.tu-darmstadt.de \
--to=elrond+kernel.org@samba-tng.org \
--cc=git@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox