You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by kf...@collab.net on 2003/08/01 16:23:45 UTC

Re: cvs2svn

Clark Rawlins <cl...@bit63.org> writes:
> $cvs2svn/cvs2svn.py -s eureka --create --trunk=trunk --branches=branches
> --tags=tags cvs_repository/
> 
> Error while parsing 'cvs_repository/ANT/src/fe_redwood/make.txt,v':
>    branch 1.1.1 already has name 'ANT_COMPONENTS',
>       cannot also have name 'avendor'.
>       
> Is this a bug or is it a problem with my misunderstanding of how this is 
> supposed to work?

This is a problem in the RCS file make.txt,v.  If you look at the
symbolic names header, you will see that branch 1.1.1 has two
different names.  Try removing one of them.

If anyone has reason to believe this is a legitimate CVS construct,
please say something.  It seems to be quite rare, and I don't see how
it could have been achieved via CVS, which as far as I remember
doesn't permit a branch to be given more than one name.  (Tagged
revisions are a different story, of course.)

-Karl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by kf...@collab.net.
"Max Bowsher" <ma...@ukf.net> writes:
> >   arelease:1.1.1.1
> > + avendor:1.1.1;
> >  locks; strict;
> >  comment @# @;
> 
> You've accidentally removed the semicolon terminating the "symbols" list.

Took the words right out of my mouth, Max :-).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Tue, Aug 05, 2003 at 01:05:41PM -0500, Clark Rawlins wrote:
> On Tue, Aug 05, 2003 at 12:21:33PM -0500, kfogel@collab.net wrote:
> > Clark Rawlins <cl...@bit63.org> writes:
> > > I seem have gotten past the last problem. Now I have a problem with 
> > > MemoryError
[snip]
> > > crawlins@debian:~$ ls cvs_repository/Eureka_Media/DMM2/Media.tar,v
> > > -r--r--r--    1 crawlins crawlins 804891943 Aug  1 13:17
> > > cvs_repository/Eureka_Media/DMM2/Media.tar,v
> > > 
> > > Obviously it is because of the large Tar file someone chose to check in.
> > > Can I get past this problem without skipping the tar file?
[snip]
> Actually its _only_ 80MB but still it is huge. 
[snip]

Well, the tar file might be 80MB, but the ,v file is 767MB.  :)

cvs2svn.py is not the only CVS to Subversion converter available.  You
could see if the VCP one works better for this repository.  Check the
archives for references.

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by kf...@collab.net.
Clark Rawlins <cl...@bit63.org> writes:
> After I mailed this report I noticed the machine running the conversion
> had stopped responding.  It is possible there was some other unrelated
> problem, so I am trying it again.

Oops :-).

> I will report back on my results.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
After I mailed this report I noticed the machine running the conversion
had stopped responding.  It is possible there was some other unrelated
problem, so I am trying it again.

I will report back on my results.

On Mon, Aug 11, 2003 at 09:07:28AM -0500, kfogel@collab.net wrote:
> Clark Rawlins <cl...@bit63.org> writes:
> > In the mean time I let cvs2svn go over the weekend and came back to this
> > error message:
> > 
> > committing: Wed Mar 14 16:14:46 2001, over 0 seconds
> > Traceback (most recent call last):
> >   File "cvs2svn/cvs2svn.py", line 2263, in ?
> >     main()
> >   File "cvs2svn/cvs2svn.py", line 2259, in main
> >     convert(ctx, start_pass=start_pass)
> >   File "cvs2svn/cvs2svn.py", line 2138, in convert
> >     _passes[i](ctx)
> >   File "cvs2svn/cvs2svn.py", line 2073, in pass4
> >     c.commit(dumper, ctx, sym_tracker)
> >   File "cvs2svn/cvs2svn.py", line 1820, in commit
> >     svn_rev = dumper.start_revision(props)
> >   File "cvs2svn/cvs2svn.py", line 943, in start_revision
> >     self.repos_mirror.new_revision()
> >   File "cvs2svn/cvs2svn.py", line 489, in new_revision
> >     self.stabilize_youngest()
> >   File "cvs2svn/cvs2svn.py", line 507, in stabilize_youngest
> >     self._stabilize_directory(root_key)
> >   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
> >     self._stabilize_directory(dir[entry_key])
> >   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
> >     self._stabilize_directory(dir[entry_key])
> >   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
> >     self._stabilize_directory(dir[entry_key])
> >   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
> >     self._stabilize_directory(dir[entry_key])
> >   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
> >     self._stabilize_directory(dir[entry_key])
> >   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
> >     self._stabilize_directory(dir[entry_key])
> >   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
> >     self._stabilize_directory(dir[entry_key])
> >   File "cvs2svn/cvs2svn.py", line 496, in _stabilize_directory
> >     dir = marshal.loads(self.nodes_db[key])
> > KeyError: 39219b
> > 
> > It is not obvious to me what this means.
> 
> Hmmm, me neither.  Is there any chance you can narrow it down to a
> small reproduction case?
> 
> -Karl
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 

-- 
"The two enemies of the people are criminals and government, so let us tie the
second down with the chains of the constitution so the second will not become
the legalized version of the first."
     -- Thomas Jefferson

Re: cvs2svn

Posted by kf...@collab.net.
Clark Rawlins <cl...@bit63.org> writes:
> In the mean time I let cvs2svn go over the weekend and came back to this
> error message:
> 
> committing: Wed Mar 14 16:14:46 2001, over 0 seconds
> Traceback (most recent call last):
>   File "cvs2svn/cvs2svn.py", line 2263, in ?
>     main()
>   File "cvs2svn/cvs2svn.py", line 2259, in main
>     convert(ctx, start_pass=start_pass)
>   File "cvs2svn/cvs2svn.py", line 2138, in convert
>     _passes[i](ctx)
>   File "cvs2svn/cvs2svn.py", line 2073, in pass4
>     c.commit(dumper, ctx, sym_tracker)
>   File "cvs2svn/cvs2svn.py", line 1820, in commit
>     svn_rev = dumper.start_revision(props)
>   File "cvs2svn/cvs2svn.py", line 943, in start_revision
>     self.repos_mirror.new_revision()
>   File "cvs2svn/cvs2svn.py", line 489, in new_revision
>     self.stabilize_youngest()
>   File "cvs2svn/cvs2svn.py", line 507, in stabilize_youngest
>     self._stabilize_directory(root_key)
>   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
>     self._stabilize_directory(dir[entry_key])
>   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
>     self._stabilize_directory(dir[entry_key])
>   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
>     self._stabilize_directory(dir[entry_key])
>   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
>     self._stabilize_directory(dir[entry_key])
>   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
>     self._stabilize_directory(dir[entry_key])
>   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
>     self._stabilize_directory(dir[entry_key])
>   File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
>     self._stabilize_directory(dir[entry_key])
>   File "cvs2svn/cvs2svn.py", line 496, in _stabilize_directory
>     dir = marshal.loads(self.nodes_db[key])
> KeyError: 39219b
> 
> It is not obvious to me what this means.

Hmmm, me neither.  Is there any chance you can narrow it down to a
small reproduction case?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
Thanks for all the help so far:

I removed the large file just to get moving forward. I will increase my
swap space using a swap file in the future to see if I can get the large
file in to the repository.

In the mean time I let cvs2svn go over the weekend and came back to this
error message:

committing: Wed Mar 14 16:14:46 2001, over 0 seconds
Traceback (most recent call last):
  File "cvs2svn/cvs2svn.py", line 2263, in ?
    main()
  File "cvs2svn/cvs2svn.py", line 2259, in main
    convert(ctx, start_pass=start_pass)
  File "cvs2svn/cvs2svn.py", line 2138, in convert
    _passes[i](ctx)
  File "cvs2svn/cvs2svn.py", line 2073, in pass4
    c.commit(dumper, ctx, sym_tracker)
  File "cvs2svn/cvs2svn.py", line 1820, in commit
    svn_rev = dumper.start_revision(props)
  File "cvs2svn/cvs2svn.py", line 943, in start_revision
    self.repos_mirror.new_revision()
  File "cvs2svn/cvs2svn.py", line 489, in new_revision
    self.stabilize_youngest()
  File "cvs2svn/cvs2svn.py", line 507, in stabilize_youngest
    self._stabilize_directory(root_key)
  File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
    self._stabilize_directory(dir[entry_key])
  File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
    self._stabilize_directory(dir[entry_key])
  File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
    self._stabilize_directory(dir[entry_key])
  File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
    self._stabilize_directory(dir[entry_key])
  File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
    self._stabilize_directory(dir[entry_key])
  File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
    self._stabilize_directory(dir[entry_key])
  File "cvs2svn/cvs2svn.py", line 501, in _stabilize_directory
    self._stabilize_directory(dir[entry_key])
  File "cvs2svn/cvs2svn.py", line 496, in _stabilize_directory
    dir = marshal.loads(self.nodes_db[key])
KeyError: 39219b

It is not obvious to me what this means.

Clark

On Tue, Aug 05, 2003 at 12:31:52PM -0700, Eric Smith wrote:
> > It is already 512M and 512M :(
> > I really don't want to repartition and reinstall the machine.
> 
> What OS are you running?  Some operating systems allow you to add
> a swap file (vs. partition), so you can temporarily increase the swap
> space without repartitioning.
> 

-- 
"The two enemies of the people are criminals and government, so let us tie the
second down with the chains of the constitution so the second will not become
the legalized version of the first."
     -- Thomas Jefferson

Re: cvs2svn

Posted by kf...@collab.net.
Clark Rawlins <cl...@bit63.org> writes:
> I don't know much about the implementation of cvs2svn.  Is rcsparse part
> of the subversion distribution or parto of something else?

It comes from ViewCVS.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Eric Smith <er...@brouhaha.com>.
> It is already 512M and 512M :(
> I really don't want to repartition and reinstall the machine.

What OS are you running?  Some operating systems allow you to add
a swap file (vs. partition), so you can temporarily increase the swap
space without repartitioning.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
On Tue, Aug 05, 2003 at 01:34:49PM -0500, kfogel@collab.net wrote:
> Clark Rawlins <cl...@bit63.org> writes:
> > Actually its _only_ 80MB but still it is huge. 
> > If I remove it is there any way to get the history back later?
> 
> You could commit it / copy it to various places in the repository
> later.  It would be chronologically out of order, though.
> 
Thats what I thought :(

> Or, just increase your swap or RAM... ? :-)
It is already 512M and 512M :(
I really don't want to repartition and reinstall the machine.

> 
> (Maybe rcsparse could be improved to avoid this problem, but it's not
> our highest priority bug right now, unfortunately.).

I don't know much about the implementation of cvs2svn.  Is rcsparse part
of the subversion distribution or parto of something else?

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 

-- 
"They that can give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
  - Benjamin Franklin, Historical Review of Pennsylvania, 1759.

Re: cvs2svn

Posted by kf...@collab.net.
Clark Rawlins <cl...@bit63.org> writes:
> Actually its _only_ 80MB but still it is huge. 
> If I remove it is there any way to get the history back later?

You could commit it / copy it to various places in the repository
later.  It would be chronologically out of order, though.

Or, just increase your swap or RAM... ? :-)

(Maybe rcsparse could be improved to avoid this problem, but it's not
our highest priority bug right now, unfortunately.).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
On Tue, Aug 05, 2003 at 12:21:33PM -0500, kfogel@collab.net wrote:
> Clark Rawlins <cl...@bit63.org> writes:
> > I seem have gotten past the last problem. Now I have a problem with 
> > MemoryError
> > 
> > cvs_repository/Eureka_Media/DMM2/Media.tar,v
> > Traceback (most recent call last):

.. snip ..

> > MemoryError
> > crawlins@debian:~$ ls cvs_repository/Eureka_Media/DMM2/Media.tar,v
> > -r--r--r--    1 crawlins crawlins 804891943 Aug  1 13:17
> > cvs_repository/Eureka_Media/DMM2/Media.tar,v
> > 
> > Obviously it is because of the large Tar file someone chose to check in.
> > Can I get past this problem without skipping the tar file?
> 
> Someone checked an 800MB tar file into ***CVS*** ???
> 
> Are you sure you don't want to just move Media.tar,v out of the
> repository for the conversion, and splice it in later if you're sure
> you want it?
> 
> I'm not sure what to do about a MemoryError.

Actually its _only_ 80MB but still it is huge. 
If I remove it is there any way to get the history back later?

Clark

-- 
"The two enemies of the people are criminals and government, so let us tie the
second down with the chains of the constitution so the second will not become
the legalized version of the first."
     -- Thomas Jefferson

Re: cvs2svn

Posted by kf...@collab.net.
Clark Rawlins <cl...@bit63.org> writes:
> I seem have gotten past the last problem. Now I have a problem with 
> MemoryError
> 
> cvs_repository/Eureka_Media/DMM2/Media.tar,v
> Traceback (most recent call last):
>   File "cvs2svn/cvs2svn.py", line 2263, in ?
>     main()
>   File "cvs2svn/cvs2svn.py", line 2259, in main
>     convert(ctx, start_pass=start_pass)
>   File "cvs2svn/cvs2svn.py", line 2138, in convert
>     _passes[i](ctx)
>   File "cvs2svn/cvs2svn.py", line 1966, in pass1
>     os.path.walk(ctx.cvsroot, visit_file, (cd, p, stats))
>   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
>     walk(name, func, arg)
>   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
>     walk(name, func, arg)
>   File "/usr/lib/python2.1/posixpath.py", line 269, in walk
>     func(arg, top, names)
>   File "cvs2svn/cvs2svn.py", line 348, in visit_file
>     p.parse(open(pathname, 'rb'), cd)
>   File "cvs2svn/rcsparse/common.py", line 239, in parse
>     self.parse_rcs_deltatext()
>   File "cvs2svn/rcsparse/common.py", line 218, in parse_rcs_deltatext
>     text, sym2, log, sym1 = self.ts.mget(4)
>   File "cvs2svn/rcsparse/default.py", line 169, in mget
>     result.append(self.get())
>   File "cvs2svn/rcsparse/default.py", line 131, in get
>     return string.join(chunks, '')
>   File "/usr/lib/python2.1/string.py", line 128, in join
>     return sep.join(words)
> MemoryError
> crawlins@debian:~$ ls cvs_repository/Eureka_Media/DMM2/Media.tar,v
> -r--r--r--    1 crawlins crawlins 804891943 Aug  1 13:17
> cvs_repository/Eureka_Media/DMM2/Media.tar,v
> 
> Obviously it is because of the large Tar file someone chose to check in.
> Can I get past this problem without skipping the tar file?

Someone checked an 800MB tar file into ***CVS*** ???

Are you sure you don't want to just move Media.tar,v out of the
repository for the conversion, and splice it in later if you're sure
you want it?

I'm not sure what to do about a MemoryError.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
Thanks for everyones help.

I seem have gotten past the last problem. Now I have a problem with 
MemoryError

cvs_repository/Eureka_Media/DMM2/Media.tar,v
Traceback (most recent call last):
  File "cvs2svn/cvs2svn.py", line 2263, in ?
    main()
  File "cvs2svn/cvs2svn.py", line 2259, in main
    convert(ctx, start_pass=start_pass)
  File "cvs2svn/cvs2svn.py", line 2138, in convert
    _passes[i](ctx)
  File "cvs2svn/cvs2svn.py", line 1966, in pass1
    os.path.walk(ctx.cvsroot, visit_file, (cd, p, stats))
  File "/usr/lib/python2.1/posixpath.py", line 277, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.1/posixpath.py", line 277, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.1/posixpath.py", line 269, in walk
    func(arg, top, names)
  File "cvs2svn/cvs2svn.py", line 348, in visit_file
    p.parse(open(pathname, 'rb'), cd)
  File "cvs2svn/rcsparse/common.py", line 239, in parse
    self.parse_rcs_deltatext()
  File "cvs2svn/rcsparse/common.py", line 218, in parse_rcs_deltatext
    text, sym2, log, sym1 = self.ts.mget(4)
  File "cvs2svn/rcsparse/default.py", line 169, in mget
    result.append(self.get())
  File "cvs2svn/rcsparse/default.py", line 131, in get
    return string.join(chunks, '')
  File "/usr/lib/python2.1/string.py", line 128, in join
    return sep.join(words)
MemoryError
crawlins@debian:~$ ls cvs_repository/Eureka_Media/DMM2/Media.tar,v
-r--r--r--    1 crawlins crawlins 804891943 Aug  1 13:17
cvs_repository/Eureka_Media/DMM2/Media.tar,v

Obviously it is because of the large Tar file someone chose to check in.
Can I get past this problem without skipping the tar file?

Clark

On Fri, Aug 01, 2003 at 02:55:41PM -0500, Clark Rawlins wrote:
> Thanks,
> 
> That seems to work.
> I am now removing all of the duplicate names.
> 
> Clark
> 
> On Fri, Aug 01, 2003 at 08:21:18PM +0100, Max Bowsher wrote:
> > Clark Rawlins wrote:
> > > Sure,
> > > Here is the diff:
> > > 
> > > --- cvs_repository/ANT/src/fe_redwood/make.txt,v Fri Aug  1 12:26:23 2003
> > > +++ make.txt,v.orig Fri Aug  1 13:40:14 2003
> > > @@ -26,6 +26,7 @@
> > >   PSOS_REDWOOD3_3_15_2K:1.1.1.1
> > >   ANT_COMPONENTS:1.1.1
> > >   arelease:1.1.1.1
> > > + avendor:1.1.1;
> > >  locks; strict;
> > >  comment @# @;
> > 
> > You've accidentally removed the semicolon terminating the "symbols" list.
> > 
> > Max.
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> > 
> 
> -- 
> "It is error alone which needs the support of government. Truth can stand by
> itself." --Thomas Jefferson



-- 
"The two enemies of the people are criminals and government, so let us tie the
second down with the chains of the constitution so the second will not become
the legalized version of the first."
     -- Thomas Jefferson

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
Thanks,

That seems to work.
I am now removing all of the duplicate names.

Clark

On Fri, Aug 01, 2003 at 08:21:18PM +0100, Max Bowsher wrote:
> Clark Rawlins wrote:
> > Sure,
> > Here is the diff:
> > 
> > --- cvs_repository/ANT/src/fe_redwood/make.txt,v Fri Aug  1 12:26:23 2003
> > +++ make.txt,v.orig Fri Aug  1 13:40:14 2003
> > @@ -26,6 +26,7 @@
> >   PSOS_REDWOOD3_3_15_2K:1.1.1.1
> >   ANT_COMPONENTS:1.1.1
> >   arelease:1.1.1.1
> > + avendor:1.1.1;
> >  locks; strict;
> >  comment @# @;
> 
> You've accidentally removed the semicolon terminating the "symbols" list.
> 
> Max.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 

-- 
"It is error alone which needs the support of government. Truth can stand by
itself." --Thomas Jefferson

Re: cvs2svn

Posted by Max Bowsher <ma...@ukf.net>.
Clark Rawlins wrote:
> Sure,
> Here is the diff:
> 
> --- cvs_repository/ANT/src/fe_redwood/make.txt,v Fri Aug  1 12:26:23 2003
> +++ make.txt,v.orig Fri Aug  1 13:40:14 2003
> @@ -26,6 +26,7 @@
>   PSOS_REDWOOD3_3_15_2K:1.1.1.1
>   ANT_COMPONENTS:1.1.1
>   arelease:1.1.1.1
> + avendor:1.1.1;
>  locks; strict;
>  comment @# @;

You've accidentally removed the semicolon terminating the "symbols" list.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
Sure,
Here is the diff:


--- cvs_repository/ANT/src/fe_redwood/make.txt,v	Fri Aug  1 12:26:23 2003
+++ make.txt,v.orig	Fri Aug  1 13:40:14 2003
@@ -26,6 +26,7 @@
 	PSOS_REDWOOD3_3_15_2K:1.1.1.1
 	ANT_COMPONENTS:1.1.1
 	arelease:1.1.1.1
+	avendor:1.1.1;
 locks; strict;
 comment	@# @;
 

On Fri, Aug 01, 2003 at 12:48:05PM -0500, kfogel@collab.net wrote:
> Clark Rawlins <cl...@bit63.org> writes:
> > That got me past that problem.
> > 
> > The next problem I have is 
> > 
> > cvs_repository/ANT/src/fe_redwood/make.txt,v
> > Traceback (most recent call last):
> >   File "cvs2svn/cvs2svn.py", line 2263, in ?
> >     main()
> >   File "cvs2svn/cvs2svn.py", line 2259, in main
> >     convert(ctx, start_pass=start_pass)
> >   File "cvs2svn/cvs2svn.py", line 2138, in convert
> >     _passes[i](ctx)
> >   File "cvs2svn/cvs2svn.py", line 1966, in pass1
> >     os.path.walk(ctx.cvsroot, visit_file, (cd, p, stats))
> >   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
> >     walk(name, func, arg)
> >   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
> >     walk(name, func, arg)
> >   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
> >     walk(name, func, arg)
> >   File "/usr/lib/python2.1/posixpath.py", line 269, in walk
> >     func(arg, top, names)
> >   File "cvs2svn/cvs2svn.py", line 348, in visit_file
> >     p.parse(open(pathname, 'rb'), cd)
> >   File "cvs2svn/rcsparse/common.py", line 231, in parse
> >     self.parse_rcs_admin()
> >   File "cvs2svn/rcsparse/default.py", line 202, in parse_rcs_admin
> > 	(tag_name, tag_rev) = string.split(tag, ':')
> > ValueError: unpack list of wrong size
> > 
> > Any hints?
> 
> Can you post the RCS file, of both before and after your change?
> 
> (Or post the before + the diff of your change).
> 
> -K
> 

-- 
"The two enemies of the people are criminals and government, so let us tie the
second down with the chains of the constitution so the second will not become
the legalized version of the first."
     -- Thomas Jefferson

Re: cvs2svn

Posted by kf...@collab.net.
Clark Rawlins <cl...@bit63.org> writes:
> That got me past that problem.
> 
> The next problem I have is 
> 
> cvs_repository/ANT/src/fe_redwood/make.txt,v
> Traceback (most recent call last):
>   File "cvs2svn/cvs2svn.py", line 2263, in ?
>     main()
>   File "cvs2svn/cvs2svn.py", line 2259, in main
>     convert(ctx, start_pass=start_pass)
>   File "cvs2svn/cvs2svn.py", line 2138, in convert
>     _passes[i](ctx)
>   File "cvs2svn/cvs2svn.py", line 1966, in pass1
>     os.path.walk(ctx.cvsroot, visit_file, (cd, p, stats))
>   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
>     walk(name, func, arg)
>   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
>     walk(name, func, arg)
>   File "/usr/lib/python2.1/posixpath.py", line 277, in walk
>     walk(name, func, arg)
>   File "/usr/lib/python2.1/posixpath.py", line 269, in walk
>     func(arg, top, names)
>   File "cvs2svn/cvs2svn.py", line 348, in visit_file
>     p.parse(open(pathname, 'rb'), cd)
>   File "cvs2svn/rcsparse/common.py", line 231, in parse
>     self.parse_rcs_admin()
>   File "cvs2svn/rcsparse/default.py", line 202, in parse_rcs_admin
> 	(tag_name, tag_rev) = string.split(tag, ':')
> ValueError: unpack list of wrong size
> 
> Any hints?

Can you post the RCS file, of both before and after your change?

(Or post the before + the diff of your change).

-K


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Clark Rawlins <cl...@bit63.org>.
Thanks,
That got me past that problem.

The next problem I have is 

cvs_repository/ANT/src/fe_redwood/make.txt,v
Traceback (most recent call last):
  File "cvs2svn/cvs2svn.py", line 2263, in ?
    main()
  File "cvs2svn/cvs2svn.py", line 2259, in main
    convert(ctx, start_pass=start_pass)
  File "cvs2svn/cvs2svn.py", line 2138, in convert
    _passes[i](ctx)
  File "cvs2svn/cvs2svn.py", line 1966, in pass1
    os.path.walk(ctx.cvsroot, visit_file, (cd, p, stats))
  File "/usr/lib/python2.1/posixpath.py", line 277, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.1/posixpath.py", line 277, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.1/posixpath.py", line 277, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.1/posixpath.py", line 269, in walk
    func(arg, top, names)
  File "cvs2svn/cvs2svn.py", line 348, in visit_file
    p.parse(open(pathname, 'rb'), cd)
  File "cvs2svn/rcsparse/common.py", line 231, in parse
    self.parse_rcs_admin()
  File "cvs2svn/rcsparse/default.py", line 202, in parse_rcs_admin
	(tag_name, tag_rev) = string.split(tag, ':')
ValueError: unpack list of wrong size

Any hints?

Clark

On Fri, Aug 01, 2003 at 11:23:45AM -0500, kfogel@collab.net wrote:
> Clark Rawlins <cl...@bit63.org> writes:
> > $cvs2svn/cvs2svn.py -s eureka --create --trunk=trunk --branches=branches
> > --tags=tags cvs_repository/
> > 
> > Error while parsing 'cvs_repository/ANT/src/fe_redwood/make.txt,v':
> >    branch 1.1.1 already has name 'ANT_COMPONENTS',
> >       cannot also have name 'avendor'.
> >       
> > Is this a bug or is it a problem with my misunderstanding of how this is 
> > supposed to work?
> 
> This is a problem in the RCS file make.txt,v.  If you look at the
> symbolic names header, you will see that branch 1.1.1 has two
> different names.  Try removing one of them.
> 
> If anyone has reason to believe this is a legitimate CVS construct,
> please say something.  It seems to be quite rare, and I don't see how
> it could have been achieved via CVS, which as far as I remember
> doesn't permit a branch to be given more than one name.  (Tagged
> revisions are a different story, of course.)
> 
> -Karl
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 

-- 
"The two enemies of the people are criminals and government, so let us tie the
second down with the chains of the constitution so the second will not become
the legalized version of the first."
     -- Thomas Jefferson