Re: Way to avoid myproject/myproject directory structure resulting from cvs2git?
Michael Haggerty <[email protected]> Tue, 18 Aug 2015 10:31:48 +0200
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
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=3132598
To unsubscribe from this discussion, e-mail: [[email protected]].