"Daniel Gehriger" <gehriger@linkcad.com> writes:
> - The cvs2svn script did not work. After searching the list, I found a patch
> that fixes problems when files have first been added on a branch. Still, the
> script failed at the last stage, because it tried to add files that have
> already be added earlier during the same import, or it tried to change files
> that have not been added. I manually fixed the "add" and "modify" actions,
> and managed to complete the import. The only problem: only empty files have
> been imported. The directory structure is ok, but all files are empty...
> Anyway, I went on and manually moved some key revisions over to SVN by
> exporting from CVS and then importing form SVN (I had to write a small
> script to do that. The Python script you provide for updating vendor
> releases does not work under Windows).
The cvs2svn script has been changing rapidly over the last couple of
weeks. If you have bugs to report, we'd love to hear about them, but
you need to be using the cvs2svn script included in svn release 0.22.1
or later.
> I already have some stuff in all directories. But I can't seem to find how
> to obtain a list of all revisions for a given file.
svn log -v foo.c
> Also, I found that 'svn diff' is very picky -- either I know the correct
> release numbers, or I have to start guessing. Even 'svnshell.py' does not
> seem to report the correct revision numbers. In the above /vendor directory,
> I used 'setrev 27' to switch to the youngest revision. Indeed, "test.txt"'s
> revisionis shown as 27. Then I do a 'setrev 26'. Now, "test.txt"'s revision
> is 24 ??? Why ?
I think you're getting confused over the global revision numbers. I
suspect you need to read the subversion book, and in particular, look
over the first appendix (for former CVS users.) The svn repository is
an array of numbered trees called "revisions". In svnshell.py,
'setrev' selects the entire tree to browse. The the revnum shown next
to each file is the last global revision in which the file changed.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 14 21:07:33 2003