* git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right)
@ 2008-11-02 21:03 Francis Galiegue
2008-11-02 22:21 ` Tomi Pakarinen
0 siblings, 1 reply; 7+ messages in thread
From: Francis Galiegue @ 2008-11-02 21:03 UTC (permalink / raw)
To: git
Maybe it's due to the other bug that I reported with git-cvsimport a few days
ago: namely, it does NOT see branches created by CVS with no commits in them
(ie, create the branch and that's it, don't touch anything).
The problem is very serious, since it seems to trigger another bug which
prevents git-cvsimport from working at all. cvsps DOES see the commit
correctly (branc exists for this file at 1.47.6):
---
Members:
src/java/com/one2team/database/bean/impl/relation/reporting/Register.java:1.47->1.47.6.1
---
But on the imported git repository, the diff is rather 1.60 -> 1.47.6.1! As a
result, the repository is plain unusable.
As to the first problem, git finds 6 branches, cvs log finds 8 for the same
module. git finds 22 tags, cvs log finds 29!
--
fge
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right)
2008-11-02 21:03 git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right) Francis Galiegue
@ 2008-11-02 22:21 ` Tomi Pakarinen
2008-11-02 22:31 ` Francis Galiegue
0 siblings, 1 reply; 7+ messages in thread
From: Tomi Pakarinen @ 2008-11-02 22:21 UTC (permalink / raw)
To: Francis Galiegue; +Cc: git
CVS's branch does not appear on cvsps's output, until you do a commit
to it. git-cvsimport
relies on cvsps and can not do much about this...
Last problem may arise, if you try to do incremental imports from cvs to git.
For incremental imports you must start import from same location in
cvs each time.
If you have made first import from beginning of history, sequent
imports must start
from there too. Otherwise cvsps will renumber patch sets.
Tomi.
On Sun, Nov 2, 2008 at 11:03 PM, Francis Galiegue <fg@one2team.net> wrote:
> Maybe it's due to the other bug that I reported with git-cvsimport a few days
> ago: namely, it does NOT see branches created by CVS with no commits in them
> (ie, create the branch and that's it, don't touch anything).
>
> The problem is very serious, since it seems to trigger another bug which
> prevents git-cvsimport from working at all. cvsps DOES see the commit
> correctly (branc exists for this file at 1.47.6):
>
> ---
> Members:
>
> src/java/com/one2team/database/bean/impl/relation/reporting/Register.java:1.47->1.47.6.1
> ---
>
> But on the imported git repository, the diff is rather 1.60 -> 1.47.6.1! As a
> result, the repository is plain unusable.
>
> As to the first problem, git finds 6 branches, cvs log finds 8 for the same
> module. git finds 22 tags, cvs log finds 29!
>
> --
> fge
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right)
2008-11-02 22:21 ` Tomi Pakarinen
@ 2008-11-02 22:31 ` Francis Galiegue
2008-11-03 14:52 ` Michael Haggerty
0 siblings, 1 reply; 7+ messages in thread
From: Francis Galiegue @ 2008-11-02 22:31 UTC (permalink / raw)
To: tomi.pakarinen; +Cc: git
Le Sunday 02 November 2008 23:21:44 Tomi Pakarinen, vous avez écrit :
> CVS's branch does not appear on cvsps's output, until you do a commit
> to it. git-cvsimport
> relies on cvsps and can not do much about this...
>
Well, there's another file that cvsps generate (in $HOME/.cvsps) that helps
here and that is named ":<method>:<method_args>:#path#to#cvsroot#modulename."
This file contains the needed information. As far as I can see though,
git-cvsimport does not use it.
> Last problem may arise, if you try to do incremental imports from cvs to
> git. For incremental imports you must start import from same location in
> cvs each time.
> If you have made first import from beginning of history, sequent
> imports must start
> from there too. Otherwise cvsps will renumber patch sets.
>
The plan would be to convert all modules in one go, with no one committing in
the meantime, so that's not a problem.
I'll try and dig a little deeper into git-cvsimport and see if I can make it
use this information...
--
fge
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right)
2008-11-02 22:31 ` Francis Galiegue
@ 2008-11-03 14:52 ` Michael Haggerty
2008-11-03 19:03 ` Samuel Lucas Vaz de Mello
0 siblings, 1 reply; 7+ messages in thread
From: Michael Haggerty @ 2008-11-03 14:52 UTC (permalink / raw)
To: Francis Galiegue; +Cc: tomi.pakarinen, git
Francis Galiegue wrote:
> The plan would be to convert all modules in one go, with no one committing in
> the meantime, so that's not a problem.
Then you should definitely try cvs2svn/cvs2git [1]. cvsps-based
conversion tools all have known and unavoidable problems due to the
limitations of cvsps.
Michael
(the cvs2svn/cvs2git maintainer)
[1] http://cvs2svn.tigris.org/cvs2git.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right)
2008-11-03 14:52 ` Michael Haggerty
@ 2008-11-03 19:03 ` Samuel Lucas Vaz de Mello
2008-11-03 19:08 ` Shawn O. Pearce
2008-11-03 19:40 ` Michael Haggerty
0 siblings, 2 replies; 7+ messages in thread
From: Samuel Lucas Vaz de Mello @ 2008-11-03 19:03 UTC (permalink / raw)
To: Michael Haggerty; +Cc: git
Michael Haggerty wrote:
> Francis Galiegue wrote:
>> The plan would be to convert all modules in one go, with no one committing in
>> the meantime, so that's not a problem.
>
> Then you should definitely try cvs2svn/cvs2git [1]. cvsps-based
> conversion tools all have known and unavoidable problems due to the
> limitations of cvsps.
>
Michael,
Does cvs2git plans to support incremental importing?
- Samuel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right)
2008-11-03 19:03 ` Samuel Lucas Vaz de Mello
@ 2008-11-03 19:08 ` Shawn O. Pearce
2008-11-03 19:40 ` Michael Haggerty
1 sibling, 0 replies; 7+ messages in thread
From: Shawn O. Pearce @ 2008-11-03 19:08 UTC (permalink / raw)
To: Samuel Lucas Vaz de Mello; +Cc: Michael Haggerty, git
Samuel Lucas Vaz de Mello <samuellucas@datacom.ind.br> wrote:
> Michael Haggerty wrote:
> > Francis Galiegue wrote:
> >> The plan would be to convert all modules in one go, with no one committing in
> >> the meantime, so that's not a problem.
> >
> > Then you should definitely try cvs2svn/cvs2git [1]. cvsps-based
> > conversion tools all have known and unavoidable problems due to the
> > limitations of cvsps.
>
> Does cvs2git plans to support incremental importing?
No, it doesn't, and likely never will. Computing the
change sets from CVS is ugly and more-or-less requires
that you do it all in one pass.
--
Shawn.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right)
2008-11-03 19:03 ` Samuel Lucas Vaz de Mello
2008-11-03 19:08 ` Shawn O. Pearce
@ 2008-11-03 19:40 ` Michael Haggerty
1 sibling, 0 replies; 7+ messages in thread
From: Michael Haggerty @ 2008-11-03 19:40 UTC (permalink / raw)
To: Samuel Lucas Vaz de Mello; +Cc: git
Samuel Lucas Vaz de Mello wrote:
> Michael Haggerty wrote:
>> Francis Galiegue wrote:
>>> The plan would be to convert all modules in one go, with no one committing in
>>> the meantime, so that's not a problem.
>> Then you should definitely try cvs2svn/cvs2git [1]. cvsps-based
>> conversion tools all have known and unavoidable problems due to the
>> limitations of cvsps.
>
> Does cvs2git plans to support incremental importing?
Nope. It would be very difficult to get it right, and I've pretty much
run out of hacking time with the birth of my second child. But I'd be
happy to help any volunteers get started :-)
Michael
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-11-03 19:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-02 21:03 git-cvsimport BUG: some commits are completely out of phase (but cvsps sees them all right) Francis Galiegue
2008-11-02 22:21 ` Tomi Pakarinen
2008-11-02 22:31 ` Francis Galiegue
2008-11-03 14:52 ` Michael Haggerty
2008-11-03 19:03 ` Samuel Lucas Vaz de Mello
2008-11-03 19:08 ` Shawn O. Pearce
2008-11-03 19:40 ` Michael Haggerty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).