Re: CVS2GIT
Michael Haggerty <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Алексей Егоров wrote: >> I suppose that either the CVS repository copies on Debian vs. >> Windows were different (e.g., one has been destroyed using >> destroy_repository.py), or you are using RCS or CVS to read >> contents out of your repository but the program that you are using >> is screwed up on Windows. But without more information (e.g., your >> config file and a sample *,v file) it is just a guess. > > I tried to convert test repository: > > python cvs2git --options=cvs2git-example.options > > Then, in the cvs2svn-2.3.0\cvs2svn-tmp\test: > > git init cat ..\git-blob.dat ..\git-dump.dat |git fast-import git > reset --hard HEAD > > and, finally, I see empty files in the test directory. Probably your cvs.exe is somehow not working correctly or not configured correctly. Try running the conversion with the additional option "-vvvvvv" (vvvery vvvverbose) and see if it outputs anything strange. You might also try the trunk version of cvs2svn/cvs2git, which uses internal code (instead of a CVS executable) to extract file contents. Try running "./run-tests.py" in the main cvs2svn directory to see whether cvs2svn is working. (For this you of course need to install the "svnadmin" command.) > My cvs > repository contain very many empty folders with only cvs directory, > when cvs2git converts this repository, it deletes this empty folders. > I need this folders, what options of cvs2git can I use to save them. This is a limitation of git, which only records file contents; it does not record empty directories. The suggested solution is to add an empty .gitignore file in empty directories, but cvs2git does not yet offer this as an option. You could add such files after the conversion. Michael ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2654392 To unsubscribe from this discussion, e-mail: [[email protected]].