Re: Way to avoid myproject/myproject directory structure resulting from cvs2git?

David Charles <[email protected]> Tue, 18 Aug 2015 10:13:16 -0700
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <CAJHoYy+t=PXO3v_pUnbPTfb1iZGQX+D+ZdhwimrfGAO1H_L0VA@mail.gmail.com>
------=_Part_10925_1184170267.1439957873090
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

That worked!  Thank you very much!
David


On Tue, Aug 18, 2015 at 1:31 AM, Michael Haggerty <[email protected]>
wrote:

> On 08/18/2015 12:13 AM, David Charles wrote:
> > I followed the instructions [http://cvs2svn.tigris.org/cvs2git.html] to
> > convert a single module of a CVS repository to a Git repository.  But,
> > upon arriving at the very last step (cloning the project to view the
> > results) I ended up with a directory structure that looks like this:
> >
> >     myproject/
> >         myproject/
> >         CVSROOT/
> >
> > I don't really want the CVSROOT directory in my final results if
> > possible.  Moreover, I do not like the fact that 'myproject' and
> > 'CVSROOT' are wrapped in another 'myproject' folder.  I wonder if these
> > things can be avoided.  I would much rather clone the project and get
> > only the interior 'myproject' folder.
>
> You just need to point cvs2git one directory deeper; i.e., instead of
> asking it to convert
>
>     /some/path/to/cvs
>
> you should ask it to convert
>
>     /some/path/to/cvs/myproject
>
> cvs2git will automatically determine that the "myproject" directory is
> within the CVS repository that is one layer up, but it will make all
> paths relative to "myproject".
>
> Hope that helps,
> Michael
>
> --
> Michael Haggerty
> [email protected]
>
>

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3132721

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_10925_1184170267.1439957873090
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">That worked!=C2=A0 Thank you very much!<div>David</div><di=
v><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"=
>On Tue, Aug 18, 2015 at 1:31 AM, Michael Haggerty <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
u</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">=
On 08/18/2015 12:13 AM, David Charles wrote:<br>
&gt; I followed the instructions [<a href=3D"http://cvs2svn.tigris.org/cvs2=
git.html" rel=3D"noreferrer" target=3D"_blank">http://cvs2svn.tigris.org/cv=
s2git.html</a>] to<br>
&gt; convert a single module of a CVS repository to a Git repository.=C2=A0=
 But,<br>
&gt; upon arriving at the very last step (cloning the project to view the<b=
r>
&gt; results) I ended up with a directory structure that looks like this:<b=
r>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0myproject/<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0myproject/<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CVSROOT/<br>
&gt;<br>
&gt; I don&#39;t really want the CVSROOT directory in my final results if<b=
r>
&gt; possible.=C2=A0 Moreover, I do not like the fact that &#39;myproject&#=
39; and<br>
&gt; &#39;CVSROOT&#39; are wrapped in another &#39;myproject&#39; folder.=
=C2=A0 I wonder if these<br>
&gt; things can be avoided.=C2=A0 I would much rather clone the project and=
 get<br>
&gt; only the interior &#39;myproject&#39; folder.<br>
<br>
</span>You just need to point cvs2git one directory deeper; i.e., instead o=
f<br>
asking it to convert<br>
<br>
=C2=A0 =C2=A0 /some/path/to/cvs<br>
<br>
you should ask it to convert<br>
<br>
=C2=A0 =C2=A0 /some/path/to/cvs/myproject<br>
<br>
cvs2git will automatically determine that the &quot;myproject&quot; directo=
ry is<br>
within the CVS repository that is one layer up, but it will make all<br>
paths relative to &quot;myproject&quot;.<br>
<br>
Hope that helps,<br>
Michael<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Michael Haggerty<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<br>
</font></span></blockquote></div><br></div>

------=_Part_10925_1184170267.1439957873090--