* Importing from CVS issues
@ 2005-08-16 10:41 Alex Bennee
2005-08-16 11:26 ` Martin Langhoff
2005-08-16 12:16 ` David Kågedal
0 siblings, 2 replies; 5+ messages in thread
From: Alex Bennee @ 2005-08-16 10:41 UTC (permalink / raw)
To: git
Hi,
We've been having issues with CVS for some time and I thought I'd give
git a spin. To do some like-for-like tests I'm having a go at importing
our cvs repository into git so I can do some benchmarks on things like
branch creation as well as play around with the visualisation tools.
Obviously the CVS repo is non-trivial as we have many branches (one per
change developed). I've been trying to import script but it seems to
falling over. For starters cvsps is spitting out lots of messages along
the lines of:
WARNING: revision 1.3.2.1 of file scripts/xmltools/t/runtests.pl on
unnamed branch
Before the import script finally dies with:
WARNING: revision 1.3.2.1 of file
scripts/xmltools/t/data/gzip/DO-NOT-BACKUP on unnamed branch
DONE; creating master branch
cp: cannot stat `/export/test/cvstogit/.git/refs/heads/origin': No such
file or directory
usage: git-read-tree (<sha> | -m [-u] <sha1> [<sha2> [<sha3>]])
Is this a just a case of the cvsps not giving output the script can deal
with? Any suggestions on how I can proceed with diagnosing what went
wrong?
--
Alex, homepage: http://www.bennee.com/~alex/
Barometer, n.: An ingenious instrument which indicates what kind of
weather we are having. -- Ambrose Bierce, "The Devil's Dictionary"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Importing from CVS issues
2005-08-16 10:41 Importing from CVS issues Alex Bennee
@ 2005-08-16 11:26 ` Martin Langhoff
2005-08-16 16:09 ` Alex Bennee
2005-08-16 12:16 ` David Kågedal
1 sibling, 1 reply; 5+ messages in thread
From: Martin Langhoff @ 2005-08-16 11:26 UTC (permalink / raw)
To: Alex Bennee; +Cc: git
I haven't seen this problem myself. There are some recent patches
Junio merged that handle some oddities better. Give the 'pu' branch a
go if you can.
I take it that the repo is not public. I'd like to try and reproduce
the problem. Can you get it to happen with a public repository?
For debugging, I'd say proofread the cvsps output, see ~/.cvsps/#repo
. that could give you hints as to the 'nameless' branches. Why is
origin missing is a different problem.
Ah! Important: if you're adding debugging statements by hand, bear in
mind that part of the code is executed in a forked child process, and
prints there will mess things up.
cheers,
martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Importing from CVS issues
2005-08-16 10:41 Importing from CVS issues Alex Bennee
2005-08-16 11:26 ` Martin Langhoff
@ 2005-08-16 12:16 ` David Kågedal
2005-08-16 13:48 ` Alex Bennee
1 sibling, 1 reply; 5+ messages in thread
From: David Kågedal @ 2005-08-16 12:16 UTC (permalink / raw)
To: git
Alex Bennee <kernel-hacker@bennee.com> writes:
> Before the import script finally dies with:
>
> WARNING: revision 1.3.2.1 of file
> scripts/xmltools/t/data/gzip/DO-NOT-BACKUP on unnamed branch
> DONE; creating master branch
> cp: cannot stat `/export/test/cvstogit/.git/refs/heads/origin': No such
> file or directory
Was this done with an empty destination dir? I've seen similar things
happen in a dir where an interrupted cvs import was done previously,
and the 'origin' branch was never created.
--
David Kågedal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Importing from CVS issues
2005-08-16 12:16 ` David Kågedal
@ 2005-08-16 13:48 ` Alex Bennee
0 siblings, 0 replies; 5+ messages in thread
From: Alex Bennee @ 2005-08-16 13:48 UTC (permalink / raw)
To: git
On Tue, 2005-08-16 at 14:16 +0200, David Kågedal wrote:
> Alex Bennee <kernel-hacker@bennee.com> writes:
>
> > Before the import script finally dies with:
> >
> > WARNING: revision 1.3.2.1 of file
> > scripts/xmltools/t/data/gzip/DO-NOT-BACKUP on unnamed branch
> > DONE; creating master branch
> > cp: cannot stat `/export/test/cvstogit/.git/refs/heads/origin': No such
> > file or directory
>
> Was this done with an empty destination dir? I've seen similar things
> happen in a dir where an interrupted cvs import was done previously,
> and the 'origin' branch was never created.
Yes, in fact I let the script create the new destination dir. So I don't
think its an issue with stale data from a previous attempt being left
around.
>
--
Alex Bennee - alexjb@transitive.com
"The world is beating a path to our door" -- Bruce Perens, (Open
Sources, 1999 O'Reilly and Associates)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Importing from CVS issues
2005-08-16 11:26 ` Martin Langhoff
@ 2005-08-16 16:09 ` Alex Bennee
0 siblings, 0 replies; 5+ messages in thread
From: Alex Bennee @ 2005-08-16 16:09 UTC (permalink / raw)
To: Martin Langhoff; +Cc: git
On Tue, 2005-08-16 at 23:26 +1200, Martin Langhoff wrote:
> I haven't seen this problem myself. There are some recent patches
> Junio merged that handle some oddities better. Give the 'pu' branch a
> go if you can.
I'll look at that in a bit. I already picked up a few of the patches
mentioned on the list.
> I take it that the repo is not public. I'd like to try and reproduce
> the problem. Can you get it to happen with a public repository?
I'm afraid not. However I think I've found a problem when I tried
running cvsps on its own to generate the patchset. It seems that
REV_STR_MAX (cvsps-2.1/cvsps_types.h) wasn't big enough to contain some
of our version strings.
This will be a feature of our development process which means all
changes are based of branches, some of which branch multiple times and
live for a long time before code is merged into the mainline. I don't
know if any open source projects use CVS in such a way.
My import seems to be getting a lot further now. I now just need to
clean out the corrupted files that are breaking cvs log.
--
Alex, homepage: http://www.bennee.com/~alex/
New systems generate new problems.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-16 16:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16 10:41 Importing from CVS issues Alex Bennee
2005-08-16 11:26 ` Martin Langhoff
2005-08-16 16:09 ` Alex Bennee
2005-08-16 12:16 ` David Kågedal
2005-08-16 13:48 ` Alex Bennee
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).